Last updated
Was this helpful?
Last updated
Was this helpful?
https://leetcode.com/problems/combine-two-tables
Table: Person
Table: Address
Write an SQL query to report the first name, last name, city, and state of each person in the Person
table. If the address of a PersonId
is not present in the Address
table, report null
instead.
Return the result table in any order.
The query result format is in the following example.
Example 1: