Important Questions Practicals
Important Questions Practicals
Count_device(): To count and display the number of peripheral devices whose price is
less than 1000
Q2. MySQL Queries : 4 marks
Consider the table RESULT2023 given below and answer the following questions(any 4)
(a) To display the details of class XII students in descending order of their marks.
(b) Display the sum of the marks of students who have scored more than 500.
(c) Find the maximum marks of the student for each class.
(d) Count the students class wise and display only those number which is more than 2.
(e) Display unique cities from the table.
1) Push_element() : To push to the stack an object containing name and phone number of
customer who live in Khandwa.
2) Pop_element() : To pop the objects from the stack and display them. Also, display ‘Stack
Empty’ When there is no elements in the stack.