adplus-dvertising
frame-decoration

Question

What will be the result of the following MySQL command?
WHERE end_date IS NULL 
AND NOT (title=’teller’ OR start_date < ‘2007-01-01’)

a.

The result set contains non terminated employees who both are non tellers and started working for the bank from 2007 or later

b.

The result set contains employees who both are tellers and started working for the bank in 2007 or later

c.

The result set contains employees who are only tellers

d.

All of the mentioned

Posted under MySQL Database

Answer: (a).The result set contains non terminated employees who both are non tellers and started working for the bank from 2007 or later

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the result of the following MySQL command?

Similar Questions

Discover Related MCQs

Q. Select odd one out?

Q. What is the meaning of “Equality Conditions”?

Q. What is the meaning of “Inequality Condition”?

Q. What is the meaning of “Range Conditions”?

Q. Which among the following data types can be used with “Range Condition”?

Q. Fill the blanks with suitable options?

BETWEEN ______ AND ______

Q. Which among the following operators is/are belongs to “Inequality conditions”?

Q. Which among the following operators is/are belongs to “Equality conditions”?

Q. Which among the following operators is/are belongs to “Range conditions”?

Q. What is the meaning of “NULL” in Mysql?

Q. Is the following statement is true/false?

“An expression can be NULL, but can never equal to NULL”

Q. Is the following statement is true/false?

“Two NULL values are equal to each other”

Q. Which operator is used to check whether the expression is “NULL”?

Q. Which operator is used to check the expression is not “NULL”?

Q. The program that copies the databases from one server to another is ____________

Q. Which privileges are required on the source server to use mysqldbcopy?

Q. Which option is used in mysqldump to make all tables in the destination databases to use a different storage engine?

Q. The function that returns reference to hash of row values is ____________

Q. The best datatype for a column that is expected to store values up to 2 million is _________

Q. Which type stores the longest length of strings?