這個題目比較簡單,就是簡單的連表查詢。.net
以person表爲出發點,於address表join。join依據是personId。code
# Write your MySQL query statement below SELECT person.FirstName, person.LastName, address.City, address.State FROM person LEFT JOIN address ON address.personId = person.personId
若以爲本文章對你有用,歡迎用愛發電資助。leetcode