Create Tables
- 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 */
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Emp_id declared as a primary key therefore it never contain same value.
- 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 */
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
No Error