Database Management
Accenture PrimermediumDatabase ManagementData Manipulation Language

insert into employee(empid,empname)values(123,'John'); When we issue the above insert command and if the statement fails, what would be the reason.

Answer options

A
Value for phoneno is missing.
B
The statement will execute successfully.
C
empid value should be given without single quotes.
D
empname value should be given without single quotes.

Correct answer: Value for phoneno is missing.

Explanation

phoneno has a NOT NULL constraint so it must be provided; omitting it causes an error.

Related Accenture Database Management questions

Practice more Accenture Database Management questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.