Home » MYSQL » Create Tables » Question
  1. 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
    );
    1. Primary key is missing
    2. Lesser number of columns
    3. Incorrect definition
    4. All of above
    5. None of these
Correct Option: A

Primary key is an essential attribute for each table declared in Mysql.



Your comments will be displayed only after manual approval.