32. Filter Rows With WHERE
EasyDatabases~5 min
Return the name and salary of every employee who earns more than 60000.
Return exactly those two columns, in that order.
Examples
Example 1
- Input:
- employees
- Output:
- Ana Reyes | 72000, Ben Cruz | 68000, Frank Uy | 95000
Constraints
Return exactly two columns: name, then salary.Use strictly greater than — someone earning exactly 60000 is excluded.Row order does not matter.