我是新來的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’;
這兩個查詢都有一個「連接」。第二個使用舊式隱式連接。 –