我有两个表,两个表都有一个名为TestID的列。
表1有4000行表2有1000行。
我想看看与表1相比,表2中有多少行在TestID列中具有相同的值。
发布于 2022-04-29 19:07:32
猜猜你在期待什么:
select count(t2.testId) T2Matches from t1 join t2 on t1.TestId = t2.TestId;
https://stackoverflow.com/questions/72062395
相似问题