CBSE Class 12 Informatics Practices Question 16 of 79

Database Query using SQL — Question 8

Back to all questions
8
Question

Question 8

Select all records from emp table where deptno = 10 or 40.

Answer
SELECT * FROM emp 
WHERE deptno = 10 OR deptno = 40;