INNER JOIN和之间有什么区别LEFT SEMI JOIN?
在下面的场景中,为什么我得到两个不同的结果?
该INNER JOIN结果集是很多大.谁能解释一下?我试图让其中的名字table_1只出现在table_2.
SELECT name
FROM table_1 a
INNER JOIN table_2 b ON a.name=b.name
SELECT name
FROM table_1 a
LEFT SEMI JOIN table_2 b ON (a.name=b.name)
Run Code Online (Sandbox Code Playgroud)