Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 3.34 KB

readme.md

File metadata and controls

65 lines (46 loc) · 3.34 KB

SQL Project Overview:

This project involves creating a database for managing student courses. The database will have tables for students, courses, enrollments, and instructors.

Basic Queries

Selecting all the students.

alt text

Selecting all the courses.

alt text

Selecting all enrollments with student names and course names.

alt text

Advanced Queries

Selecting students who enrolled in a specific course.

alt text

Selecting courses with more than 3 students.

alt text

Updating a student's email.

alt text

Calculating the average age of students.

alt text

Finding the course with the maximum enrollments.

alt text

Listing courses along with the number of students enrolled (use GROUP BY).

alt text

Join Queries

Selecting all students with their enrolled courses (using JOIN).

alt text

Listing all instructors and their courses.

alt text

Subqueries and Set Operations

Selecting students enrolled in more than one course.

alt text

Finding courses taught by a specific instructor.

alt text

Selecting the top 3 students with the most enrollments.

alt text

Using UNION to combine results of two different SELECT queries.

alt text

Aggregate Functions and Grouping

Calculating the total number of students.

alt text

Calculating the average, minimum, and maximum number of enrollments per course.

alt text

Additional Tasks

Creating aliases for complex column names.

alt text

Using CASE to categorize students based on their age.

alt text