본문 바로가기

IT/코딩테스트

[Leetcode] 175. Combine Two Tables

728x90

https://leetcode.com/problems/combine-two-tables/

SELECT 
    p.firstName, p.lastName, a.city, a.state
FROM Person p
LEFT JOIN Address a
ON p.personId = a.personId;
728x90