-
What does ‘name’ represent in the following code snippet?
CREATE TABLE Employee
(
Emp_name CHAR(30),
Emp_id INT(10),
Emp_address CHAR(30),
Emp_phone CHAR(12)
);
-
- A column
- An object
- A row
- A table
- None of these
Correct Option: A
‘name’, ‘roll_num’, ‘address’ and ‘phone’ are the attributes in the table ‘student’. The CREATE TABLE construct in SQL creates a table, assigns a name to it and its attributes, and specifies the type of fields used in the table.