The following exercise will help you to improve your SQLite query skills effectively. I have used BD Browser for sqlite for following exercise.
- Write a query to find the student names, admission fee, whose admission fee is greater than the average admission fee
- Write a query to find the full name and fee of the students who have a higher salary than the student whose last_name=’smith’
- Write a query to find the 5th maximum admission fee in the student table
- Write a query to find the 4th minimum admission fee in the student table
- Write a query to select last 5 records from a table
- Write a query to get 4 maximum admission fees
- Write a query to get 4 minimum admission fees
- Write a query to get nth max admission fee of student