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.

9 lines
284 B

/*Write a query to display the name ( first name and last name ) for those employees who gets more salary than the employee
whose id is 163.*/
SELECT first_name, last_name
FROM employees
WHERE salary >
( SELECT salary
FROM employees
WHERE employee_id=163