Skip to content
Worked Examples · Example 12

Q.Write SQL statements to insert two records into the Student table:

(i) RollNo 1, Name 'Aarti Behera', Class 'XI-A', Marks 78;
(ii) RollNo 2, Name 'Rohan Das', Class 'XI-A', Marks 85.
ChseodishaTextbookSubjectiveImportance★★★★★est
80% · 12/15 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

To add a record to a table we use the INSERT INTO statement, naming the table and its columns and then giving the VALUES in the same order. Text values are written inside single quotes; numbers are written without quotes. We write one INSERT statement per record.

(i) For RollNo 1:

INSERT INTO Student (RollNo, Name, Class, Marks)
VALUES (1, 'Aarti Behera', 'XI-A', 78);

(ii) For RollNo 2:

INSERT INTO Student (RollNo, Name, Class, Marks)
VALUES (2, 'Rohan Das', 'XI-A', 85);
``` …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.