The technical problem is how to write a SQL query that returns the top 3 most populous countries. The example output is China, India, United States.
The solution is optimal because it uses the ORDER BY and LIMIT clauses to sort the table by population in descending order and then limit the results to the top 3.
Evaluated at: 2023-01-28 02:15:26