大家好,我想知道从多个表中选择行时哪种方法是更好的解决方案。连接或列绑定。虽然我不确定我是否使用“列绑定”这个术语..
SELECT column_name(s)
FROM table_name1
INNER JOIN table_name2
ON table_name1.column_name=table_name2.column_name
或者
SELECT column_name(s)
FROM table_name1 t1, table_name2 t2, table_name t3, ....
WHERE t1.column_name = t2.column_name
AND t2.column_name = t3.column_name
AND ...