Test Index

CBSE Class 12 Computer Science 2024 Paper Set 4 Get it on Google PlayDownload on the App Store

© examsnet.com
Question : 24 of 35
Marks: +1, -0
(A) Ms. Veda created a table named Sports in a MySQL database, containing columns Game_id, P_Age and G_name.
After creating the table, she realized that the attribute, Category has to be added. Help her to write a command to add the Category column. Thereafter, write the command to insert the following record in the table :
Game_id : G42
P_Age : Above 18
G_name : Chess
Category : Senior
OR
(B) Write the SQL commands to perform the following tasks :
(i) View the list of tables in the database, Exam.
(ii) View the structure of the table, Term1.
Advertisements
Go to Question: