From sessions(device, country), count the number of distinct countries per device. Output columns device and countries. Order by countries descending, then by device ascending.
Sign in to see submission history
Sign in to use AI Mentor
Your query result will appear here