[Assignments] Simple Queries in SQL — Chapter 12 Assignments (Q/A)

|
Table of Contents

11. Write SQL commands for the following on the basis of given table SPORTS:

StudentNoClassNameGame1Grade1Game2Grade2
107SameerCricketBSwimmingA
118SujitTennisASkatingC
127KamalSwimmingBFootballB
137VeenaTennisCTennisA
149ArchanaBasketballACricketA
1510ArpitCricketAAthleticsC
Table : SPORTS
  1. Display the names of the students who have grade ‘C’ in either Game1 or Game2 or both.
  2. Display the names of the students who have same game for both Game1 and Game2.
  3. Display the games taken up by the students, whose name starts with ‘A’.
"Spread the light within, illuminate the hearts around you. Sharing is not just an action, but a sacred journey of connecting souls."~ Anonymous

Leave a Reply

Your email address will not be published. Required fields are marked *