GROUP BYORDER BY
Return country and the number of device activations (as activations). Sort by activations descending, then country ascending.
Guest mode · solve history stays on this device; code isn’t saved. Sign in to save future work
query.sql
loading editor…
Run your code to see its output, or check your solution to grade it.