Skip to content
Worked Examples · Example 8.2

Q.To display the name and date of birth of student with roll number 2, we write the following query:

Yanam CbseNCERTSubjective· 2mImportance★★★★★est
7% · 3/45 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 →

Select a student's name and date of birth by roll number.

SELECT SName, SDateofBirth
FROM STUDENT
WHERE RollNumber = 1;

Output:

+--------------+--------------+
| SName        | SDateofBirth |
+--------------+--------------+
| Atharv Ahuja | 2003-05-15   | …

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.