SQLServer2008を使用しています。
の違いは何ですか:
Where
条項に条件があります
select customer.Id,
order.Id
from Customer customer
left outer join Order order on order.customerId = customer.Id
where
order.deleted =0
ON
条項の条件付き
select customer.Id,
order.Id
from Customer customer
left outer join Order order
on order.customerId = customer.Id
and order.deleted =0
そして、2つはどのように比較しますか
select customer.Id,
order.Id
from Customer customer
inner join Order order on order.customerId = customer.Id
where
order.deleted =0