Home »
MCQs »
SQL MCQs »
SQL EXCEPT Clause MCQs
Select the correct rule of SQL EXCEPT
3. Select the correct rule of SQL EXCEPT.
- There must be the same number of columns in each table and the same order in every select statement.
- It is desirable that the columns have similar or compatible data types.
- Both SELECT statements must have the same fields in their respective columns.
- All of the above
Answer: D) All of the above
Explanation:
Rules of SQL EXCEPT are:
- There must be the same number of columns in each table and the same order in every select statement.
- It is desirable that the columns have similar or compatible data types.
- Both SELECT statements must have the same fields in their respective columns.