SQL BOARD WORKSHEET
Table : Stu
i. Write a Query to display all the details of the student from the above table 'STU'.
ii. Write a Query to list name of the students whose ages are between 18 to 20.
iii. Write a Query to display the name of the students whose name is
starting with 'A'.
iv. Write a Query to select distinct Department from STU table.
i. Write a query to display Rollno, Name and Department of the students from STU
table.
ii. Write a query to Display Name of all students whose dept Contains NULL.
iii. Write a Query to list name of female students in Hindi Department.
iv. Write a query to list the names of those students whose name have second alphabet
'n' in their names.
i. Write a query to show all information about students of History department.
ii. Write a query to display Name, DOB and fees of the students from STU table.
iii. Write a Query to list name of the students whose ages are between 20 to 25.
iv. Write a query to count the number of male and female students.
i. Write a query to display the names and age in descending order of the age.
ii. Write a query to display all information about students of Computer department.
iii. Write a query to display names of female students in Hindi department
iv. Write a query to count number of students in each department.
i. Write a query to display all information about students of Computer department.
ii. Write a Query to list name of the students whose ages are between 20 to 25.
iii. Write a query to Display Name of all students whose department Contains NULL.
iv. Write a Query to display all the details of the student from the above table 'STU'.