Книги

SQL: быстрое погружение

22
18
20
22
24
26
28
30

i. BillingAddress,

i. Total

FROM

invoices AS i

INNER JOIN

customers AS c

ON i.CustomerId = c.CustomerId

Левое внешнее соединение

SELECT

i. InvoiceId,

c. CustomerId,

c. Name,

c. Address,

i. InvoiceDate,

i. BillingAddress,

i. Total

FROM

invoices AS i

LEFT OUTER JOIN

customers AS c