首页 > 代码库 > [leetcode]Combine Two Tables

[leetcode]Combine Two Tables

leetcode竟然有sql的题了。。两道简单的应该会做

 

这个题主要就是一个left join...

 

# Write your MySQL query statement belowSELECT Person.FirstName, Person.LastName, Address.City, Address.StateFROM Person LEFT JOIN Address ON Person.PersonId = Address.PersonId;

 

[leetcode]Combine Two Tables