School Ranking Analysis Problem Statement
School Ranking Analysis Problem Statement
Problem scenario:
You are a database administrator in an institution, and you have been asked
to store the students’ details and their marks to track their progress. The
database helps to view the students’ marks with a rank that can be viewed,
updated, and evaluated to evaluate their performance.
Objective:
Task to be performed:
1. Write a query to create a students table with the student ID, first
name, last name, class, and age fields and ensure that the last name,
first name, and student ID fields have the NOT NULL constraint and
that the student ID field is a primary key
4. Write a query to display the student ID and first name of every student
in the students table whose age is greater than or equal to 16 and
whose last name is Kumar
6. Write a query to increase the score in the marksheet table by five and
create a new score column to display this new score
7. Write a query to display the marksheet table in descending order of
the score
8. Write a query to display the details of every student whose first name
starts with an ‘a’