LeetCode SQL: Combine Two Tables

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

考察LEFT JOIN

posted @ 2015-05-22 01:16  卖程序的小歪  阅读(139)  评论(0编辑  收藏  举报