SQL: Display all the data of employees that work in department 47 or department 63
SQL Boolean Operator Statement : Exercise-12 with Solution
Write a query in SQL to display all the data of employees that work in department 47 or department 63.
Sample table : emp_details
Sample Solution :
SELECT * FROM emp_details WHERE emp_dept = 47 OR emp_dept = 63;
Have another way to solve this solution? Contribute your code (and comments) through Disqus.
What is the difficulty level of this exercise?