Identify the syntactically correct SQL query in order to insert a record in the table 'STUDENT' having attributes as admission_no, name, marks.
Identify the syntactically correct SQL query in order to insert a record in the table 'STUDENT' having attributes as admission_no, name, marks.
Solution
✅ Correct Option: 2
The standard syntax is . When no column list is given, the values must follow the table's column order (admission_no, name, marks). Option 2 follows this syntax exactly, with the keyword VALUES.
Option 1: the values are placed where the column list belongs, and the VALUES keyword is missing.
Option 3: the keyword VALUES is missing before the value list. Listing the columns is allowed, but VALUES must still follow.
Option 4: the keyword is VALUES, not VALUE.
Related questions:
2026: 24 May Shift 1
2025: 20 May Shift 1
2025: 27 May Shift 2
2025: 21 May Shift 1