select a from a,b where a.id = b.id VS select * from a inner join b on a.id = b.id

时间:2015-05-20 22:38:30

标签: sql postgresql inner-join

我有post for post的SQL:

select * from a,b where a.id=b.id 

我在下一个sql中得到相同长度的行(答案)和列:

SELECT * FROM a INNER JOIN b ON a.id=b.id

我真的对此感到困惑。 a,a是一个隐含的INNER JOIN?

0 个答案:

没有答案
相关问题