xii ip practical computer question paper python 2024
xii ip practical computer question paper python 2024
( a) Write SQL query to display the records from table student in alphabetical order as per the name of the student.
(b) Write SQL query to display Name, Class and total number of students who have secured more than 450 marks, class
wise.
(c) Write SQL query to increase marks of all students by 20 whose class is “XII”
(d) SELECT COUNT(*), City FROM STUDENT GROUP BY CITY HAVING COUNT(*)>1;
(e) SELECT MAX(DOB),MIN(DOB) FROM STUDENT;
(f) SELECT NAME,GENDER FROM STUDENT WHERE CITY=”Delhi”;
(g) A Stationary Store is considering to maintain their inventory using SQL to store the data. (1)
As a database administer, Rajan has decided that:Name of the table - INVENTORY
The attributes of INVENTORY are as follows: ItemNo - numeric , ItemName - character of size 20,
Scode - numeric , Quantity – numeric .Write SQL query to create the above mentioned table