Test Index
CBSE Class 12 Computer Science 2024 Paper Compartment
© examsnet.com
Question : 29 of 35
Marks:
+1,
-0
Consider the table Rent_cab, given below :Table : Rent_cab
Based on the given table, write SQL queries for the following :(i) Add a primary key to a column name Vcode.(ii) Increase the charges of all the cabs by 10%.(iii) Delete all the cabs whose maker name is "Carus".
| Vcode | VName | Make | Color | Charges |
|---|---|---|---|---|
| 101 | Big car | Carus | White | 15 |
| 102 | Small car | Polestar | Silver | 10 |
| 103 | Family car | Windspeed | Black | 20 |
| 104 | Classic | Studio | White | 30 |
| 105 | Luxury | Trona | Red | 9 |
Go to Question: