Quiz 9

Quiz yourself on basic MySQL queries and commands, including TRUNCATE, DELETE, and pattern matching operators.

We'll cover the following...

Question # 1

Q
TRUNCATE tblA;

What will be the outcome of this query?

A)

The relationships defined on this table with other tables, the integrity checks and constraints, access privileges and other grants that the table has are deleted along with the data in the table.

B)

The relationships defined on this table with other tables, the integrity checks and constraints, access privileges and other grants that the table has are not deleted and the table retains its original structure.

Access this course and 1400+ top-rated courses and projects.