Customers in Both Lists
online and store each have a column email. Return an alphabetically sorted list of the emails that appear in both tables, each listed once.
Example 1
online {"email":["a@x","b@x"]}
store {"email":["b@x","c@x"]}
returns ["b@x"]
Only b@x is in both.
Constraints
- The result may be an empty list
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.