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.
5 lines
285 B
MySQL
5 lines
285 B
MySQL
5 years ago
|
/*14. Write a query in SQL to display the full name (first and last name), salary, and manager number for those employees who is
|
||
|
working under a manager.*/
|
||
|
SELECT first_name ||' '||last_name AS Full_Name, salary, manager_id
|
||
|
FROM employees
|
||
|
WHERE manager_id IS NOT NULL;
|