Home » MYSQL » Mysql Basic » Question
  1. 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)
    );
    1. A column
    2. An object
    3. A row
    4. A table
    5. 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.



Your comments will be displayed only after manual approval.