image.png

使用join操作连接表

image.png

  1. select FirstName, LastName, City, State
  2. from Person left join Address
  3. on Person.PersonId = Address.PersonId;