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
237 B
SQL

/*3. Write a query in SQL to display the first and last name, and department
number for all employees whose last name is “McEwen”. */
SELECT first_name, last_name, department_id
FROM employees
WHERE last_name = 'McEwen';