What is the role of “CONSTRAINS” in defining a table in Mysql?
(a) Declaring primary key
(b) Declaring Foreign Key
(c) Restrictions on columns
(d) All of the mentioned
The question was asked at a job interview.
The question is from Table Creation topic in portion Using SQL to Manage Data of MySQL