What will be the output of the following MySQL command?
SELECT fname
FROM person
WHERE emp_id != 6 OR emp_id IS NULL;
SELECT fname
FROM person
WHERE emp_id != 6 OR emp_id IS NULL;
A. Only those names whose emp_id is not equal to 6 or emp_id with NULL values
B. Only those names whose emp_id is not equal to 6
C. Only those names whose emp_id is equal to 6
D. None of the mentioned
Answer: Option A
Related Questions on MySQL Miscellaneous
How is communication established with MySQL?
A. SQL
B. Network calls
C. A programming language like C++
D. APIs
Which type of database management system is MySQL?
A. Object-oriented
B. Hierarchical
C. Relational
D. Network
Join The Discussion