使用join或不使用join进行查询?

时间:2013-11-02 09:29:05

标签: sql join

我是sql的新手,

之间的区别是什么
select vehicle.plates, make, model 
from vehicle 
   join registration on registration.plates = vehicle.plates 
where country = 'Japan';

select vehicle.plates, make, model
from registration, vehicle
where registration.plates = vehicle.plates and country=’Japan’;

1 个答案:

答案 0 :(得分:0)

第一个查询符合ANSI标准,另一个查询不符合。

但是查询应该返回相同的结果。

相关问题