Quiz 9

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

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.

Get hands-on with 1400+ tech skills courses.