0175-Combine Two Tables

題目如下:

Write a SQL query for a report that provides the following information for each person in the Person table, regardless if there is an address for each of those people:

FirstName, LastName, City, State

只求 pass 的 MySQL 版解答。不過我很好奇當初我怎麼不是選 MS SQL Server

# Write your MySQL query statement below
SELECT p.FirstName, p.LastName, a.City, a.State
FROM Person p
LEFT JOIN Address a
ON p.PersonId = a.PersonId