Create Tables
- Which among the following are the correct definitions for “NULL” in Mysql?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Empty set, Absence of value and Unknown are the following are the correct definitions for “NULL” in Mysql.
- Which data type character merge the “Check Constraint” into a data type definition?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
ENUM
- Which among the following is the correct syntax for defining “ENUM” in Mysql?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
gender ENUM (‘M’, ‘F’),
- Which among the following is the correct syntax for defining “Constraint Check” in Mysql?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Check constraint constrains the allowable values for a particular column.
- Find out the logical error in the following query?
CREATE TABLE Employee
( Emp_id VARCHAR(50),
Emp_Name VARCHAR (50),
Emp_Address VARCHAR (50),
Emp_Mobile_no SMALLINT
);
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Primary key is an essential attribute for each table declared in Mysql.