You are on page 1of 1

BPS/SV/CLASS XI/ IP/ WORKSHEET -1/ TOPIC – MYSQL / TIME – 30 MINTUES

NAME __________________________CLASS XI SEC _________________ ROLLNO ___________________

1. Write the MYSQL Queries for the following on the basics of Relation : STUDENT
ADMNO NAME CLASS HOUSE DUTY
10210 AMAN XI LIBERTY STAGE
10231 SHYAM X EQUALITY STAGE
10241 MOHAN X LIBERTY PRIZE DISTRIBUTION
10232 PALLAVI XI EQUALITY DISCIPLINE
10233 SEEMA XII EQUALITY STAGE
10290 SUNITA IX FRATERNITY DISCIPLINE

a. Write MYSQL query to create the above table using database Test.
___________________________________________________________________________________________

___________________________________________________________________________________________

___________________________________________________________________________________________

___________________________________________________________________________________________

b. To display the structure of the table.


__________________________________________________________________________________________

c. To display all information in the descending order of admno.

___________________________________________________________________________________________

d. To display the all different houses available.

___________________________________________________________________________________________

e. To display house and duty of those students who are in class XII.

___________________________________________________________________________________________

f. To display the name of all students whose house is liberty.

___________________________________________________________________________________________

g. To display all the data of those students whose name starts with ‘m’.

___________________________________________________________________________________________

h. To display the admno of those students whose name ends with ‘m’.

___________________________________________________________________________________________

i. To display the details of class X students.

___________________________________________________________________________________________

You might also like