Skip to content

Billybeast2003/SQL_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published