Получите всех работников зарплаты, если в SQL больше, чем в SQL
SELECT * FROM EMPLOYEES
WHERE SALARY > 10000;
Obedient Ocelot
SELECT * FROM EMPLOYEES
WHERE SALARY > 10000;
SELECT first_name, salary FROM employees
WHERE salary <= (SELECT AVG(salary) FROM employees);