Write a SQL query that returns the names of all the people who have a score greater than 80.
Given a table of data with the following columns: id name score Write a SQL query that returns the names of all the people who have a score greater than 80. Input: id | name | score 1 | John | 90 2 | Jane | 89 3 | Joe | 70 4 | Jill | 95 Output: John Jane Jill
SELECT name FROM table WHERE score > 80; /* The above solution is optimal because it is the most efficient way to get the names of all the people who have a score greater than 80. */
The candidate's solution is correct and demonstrates a good understanding of SQL.
Evaluated at: 2022-11-26 02:16:33