Question: Write a SQL query to find the employees who do not belong to any department.Answer: SELECT * FROM Employee WHERE department_id IS NULL; |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is SQL?
- What is a foreign key?
- Write a SQL query to update multiple rows in a table.
- What is the purpose of the SQL DISTINCT keyword?
- Write a SQL query to find the top N records from a table.