Create Tables


  1. Will this query produce any error?
    INSERT INTO Employee
    (Emp_id, fname,lname)
    VALUES (101,’Sujit’,’Gupta’),
    VALUES (101,’Ajit’,’Gupta’);
    /* where person_id is a primary key */











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Emp_id declared as a primary key therefore it never contain same value.


  1. Will this query produce any error?
    INSERT INTO Employee
    (Emp_id, fname,lname)
    VALUES (101,’Sujit’,'Gupta'),
    VALUES (102,’Ajit’,’Gupta’);
    /* where person_id is a primary key */











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    No Error