题目:https://leetcode-cn.com/problems/combine-two-tables/
代码:
# Write your MySQL query statement below
select Person.FirstName, Person.LastName, Address.City, Address.State
from Person left join Address
on Person.PersonId = Address.PersonId
注意:
用where的话左连接相当于失效了 这里要用on