Mysql
 sql >> Datenbank >  >> RDS >> Mysql

Bedingter Join von SQL Server

ON coalesce(shoporders.InvoiceAddressId, shoporders.DeliveryAddressId) = shopaddresses.addressid