Test Index
CBSE Class 12 Computer Science 2024 Paper Compartment
© examsnet.com
Question : 31 of 35
Marks:
+1,
-0
Consider the tables GAMES and PLAYERS given below :Table : GAMES
Table : PLAYERS
Write SQL queries for the following :(i) Display the game type and average number of games played in each type.(ii) Display prize money, name of the game, and name of the players from the tables Games and Players.(iii) Display the types of games without repetition.(iv) Display the name of the game and prize money of those games whose prize money is known.
| GCode | GameName | Type | Number | PrizeMoney |
|---|---|---|---|---|
| 101 | Carrom Board | Indoor | 2 | 5000 |
| 102 | Badminton | Outdoor | 2 | 12000 |
| 103 | Table Tennis | Indoor | 4 | NULL |
| 104 | Chess | Indoor | 2 | 9000 |
| 105 | Lawn Tennis | Outdoor | 4 | 25000 |
| PCode | Name | GCode |
|---|---|---|
| 1 | Nabi Ahmad | 101 |
| 2 | Ravi Sahai | 108 |
| 3 | Jatin | 101 |
| 4 | Nazneen | 103 |
Go to Question: