Advanced SQL – True or False

6. A transaction is the complete set of closely related update commands that must all be done, or none of them done, for the database to remain valid.

A. True
B. False

Correct Answer: A. True
Advertisement

7. When AUTOCOMMIT is set on, changes will be made automatically at the end of each SQL statement.

A. True
B. False

Correct Answer: A. True
Advertisement

8. The UNION clause is used to combine the output from multiple queries together into a single result table.

A. True
B. False

Correct Answer: A. True
Advertisement

9. ROLLBACK WORK asks SQL to empty the log file.

A. True
B. False

Correct Answer: A. True
Advertisement

10. The most frequently used relational operation, which brings together data from two or more related tables into one resultant table, is called an equi-join.

A. True
B. False

Correct Answer: B. False
Advertisement

Leave A Comment?