🎯 Few days left this month Support SQLTest.online and help us keep SQL practice free for everyone. Donate today →
SQL code copied to buffer
Task

Clients Who Met at Rental Points

MySQL
Find clients who met at one of the rental points. Display a table with fields meet_time - according the rental time, store_id, customers - list of meeting clients in the format JOHN SNOW,DAENERYS TARGARYEN sorted by clients's last name.
The results table should be sorted by meeting time and store id.
(Customers met if they rented movies from the same branch at the same time. The meeting place is determined by the employee's place of work.)
Expected result Columns: 3 · Rows: 25
meet_time store_id customers

Sample rows open after wrong checks: 0 of 3

Write your query below and click "Check it!". Tables are described in the right pane.

Tutorial
The query result will appear here. Ctrl+Enter - Run query