select FirstName, LastName, City, State from Person left join Address on Person.PersonId = Address.PersonId;
左连接的定义:是以左表为基础,根据ON后给出的两表的条件将两表连接起来。结果会将左表所有的查询信息列出,而右表只列出ON后条件与左表满足的部分。左连接全称为左外连接,是外连接的一种。
关于内连接 左连接 右连接 全连接 可以看这个文章https://blog.csdn.net/plg17/article/details/78758593