Huỳnh Hiền
New member
Find the error in the following SQL statement?
A. No error
B. Error, Duplicate value
C. Any other error
D. None of the mentioned
Code:
CREATE TABLE person
( person_id SMALLINT, name varchar, last varchar
CONSTRAINTS pk_person PRIMARY KEY (person_id));
INSERT INTO person
VALUES( person_id, name, last)
(1, ’s’, ’p’);
INSERT INTO person
( person_id, name, last)
VALUES(1,’s’,’p’);
B. Error, Duplicate value
C. Any other error
D. None of the mentioned