Test Index
CBSE Class 12 Computer Science 2024 Paper Compartment
© examsnet.com
Question : 24 of 35
Marks:
+1,
-0
(a) Mr. Atharva is given a task to create a database,
Admin. He has to create a table, users in the database with the following columns : (1+1=2)User_id - intUser_name - varchar(20)Password - varchar(10)Help him by writing SQL queries for both tasks.OR(b) Ms. Rita is a database administrator at a school. She is working on the table,
student containing the columns like Stud_id, Name, Class and Stream. She has been asked by the Principal to strike off the record of a student named Rahul with student_id as 100 from the school records and add another student who has been admitted with the following details : (1+1=2)Stud_id - 123Name - RajeevClass - 12Stream - ScienceHelp her by writing SQL queries for both tasks.
Go to Question: