Question 3Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)

___________ is an invalid statement in standard SQL:1999.

  1. ADELETE FROM Customer WHERE 1=1;
  2. BUPDATE Customer SET Bill = Bill - 5000 WHERE Account = 'High privilege';
  3. CINSERT INTO Employees VALUES (DEFAULT, 'John', 'IT');
  4. DINSERT Employees VALUES ('John', DEFAULT, 'IT');
Show answerHide answer

Correct answer: (D) INSERT Employees VALUES ('John', DEFAULT, 'IT');

Explanation

Standard SQL requires the keyword INTO in an INSERT statement: INSERT INTO table VALUES (...). Omitting INTO is only accepted by some vendors such as MySQL or SQL Server, so D is invalid in standard SQL.

From DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 2 (1:00 PM)

This is question 3 of DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 2 (1:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.