You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
259 B
MySQL
10 lines
259 B
MySQL
5 years ago
|
/*Write a query to determine who earns more than Mr. Ozer.
|
||
|
*/
|
||
|
|
||
|
SELECT first_name, last_name, salary
|
||
|
FROM employees
|
||
|
WHERE salary >
|
||
|
(SELECT salary
|
||
|
FROM employees
|
||
|
WHERE last_name='Ozer')
|
||
|
ORDER BY last_name;
|