0% found this document useful (0 votes)
5 views1 page

SQL Mini Project Question

The document outlines a project for creating a Student Course Management System using a mini relational database. It specifies the need for at least three tables with constraints, sample records, and various SQL queries to display student details, course information, and enrollment statistics. The tasks include creating tables, inserting records, and writing specific SQL queries for data retrieval and analysis.

Uploaded by

Anuradha Dhavala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

SQL Mini Project Question

The document outlines a project for creating a Student Course Management System using a mini relational database. It specifies the need for at least three tables with constraints, sample records, and various SQL queries to display student details, course information, and enrollment statistics. The tasks include creating tables, inserting records, and writing specific SQL queries for data retrieval and analysis.

Uploaded by

Anuradha Dhavala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Project – Student Course Management System

You are required to create and query a mini relational database involving
students and the courses they enroll in.

Identify tables with entity. Apply constraint on it. Minimum 3 tables require to
perform the system successfully.

Tasks:

1. Create the tables:

2. Insert at least 3–5 sample records in each table.

3. Write SQL queries for the following:

a. Display all student details.


b. Display the names of students from a specific city (e.g., 'Ahmedabad').
c. Display all course names whose fees are more than 5000.
d. List all students along with the course names they are enrolled in (Use equi
join).
e. Count how many students are enrolled in each course.
f. Display total number of enrollments per city (Use GROUP BY).
g. Display courses having more than 1 student enrolled (Use GROUP BY +
HAVING).
h. List students and their total number of enrolled courses, sorted by name (Use
GROUP BY + ORDER BY).
i. List all students with their course names ordered by enrollment date (Use
ORDER BY).
j. Find the city with the highest number of enrolled students (Use GROUP BY,
ORDER BY, LIMIT).

98245 02039

You might also like