adplus-dvertising
frame-decoration

Question

If a query involves NOT, AND, OR with no parenthesis

a.

NOT will be evaluated first; AND will be evaluated second; OR will be evaluated last.

b.

NOT will be evaluated first; OR will be evaluated second; AND will be evaluated last.

c.

AND will be evaluated first; OR will be evaluated second; NOT will be evaluated last.

d.

The order of occurrence determines the order of evaluation.

Posted under DBMS

Answer: (a).NOT will be evaluated first; AND will be evaluated second; OR will be evaluated last.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If a query involves NOT, AND, OR with no parenthesis

Similar Questions

Discover Related MCQs

Q. Let the statement
SELECT column1 FROM myTable;
return 10 rows. The statement
SELECT ALL column1 FROM myTable;
will return

Q. Table employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE.
The SQL statement
SELECT COUNT(*) FROM employee WHERE SALARY > ALL (SELECT SALARY FROM EMPLOYEE);
prints

Q. Which of the following SQL commands can be used to add data to a database table?

Q. Which of the following join is also called as an 'inner-join'?

Q. The result of a SQL SELECT statement is a ________ .

Q. Which of the following query is correct for using comparison operators in SQL?

Q. How to select all data from student table starting the name from letter 'r'?

Q. Which of the following SQL query is correct for selecting the name of staffs from 'staffinfo' table where salary is 10,000 or 25,000?

Q. Select the right statement to insert values to the student table.

Q. ............. joins two or more tables based on a specified column value not equaling a specified column value in another table.

Q. In SQL, which command is used to change a table's storage characteristics?

Q. 'AS' clause is used in SQL for

Q. The type of function which allows performing additional operations and sending messages to other tables in database program is considered as

Q. The technique in which source program are replaced by database management generated code is classified as

Q. In database management systems, the record which contains all the data regarding tuples of database is called

Q. The database program which handles software applications and include database servers calls to update the data is classified as

Q. The database interface in which the data is directly entered into the monitor is classified as

Q. The type of iterator which is used to list the types of attributes that are included in the query result is called

Q. In query result, the type of variable which is used to loop tuples is called

Q. The variable in DBMS used to communicate error conditions between database management system and program are