SQL Practice Logo

SQLPractice Online

Home/Practice/

School Database

Free Practice Mode

School Database SQL Practice Exercises

Educational institution management with students, courses, and grades

3 ExercisesBeginner to Advanced Level

Student Records

Beginner
01

Query student information and enrollment data

Topics Covered:

SELECTJOINWHERE

Sample Query:

SELECT s.student_name, c.course_name, e.enrollment_date FROM students s JOIN enr...
Start Exercise

Grade Analysis

Intermediate
02

Calculate GPAs and grade distributions

Topics Covered:

AVGGROUP BYHAVING

Sample Query:

SELECT s.student_name, AVG(g.grade_point) as gpa FROM students s JOIN grades g O...
Start Exercise

Academic Performance

Advanced
03

Advanced analytics on student and course performance

Topics Covered:

Window FunctionsRANKPercentiles

Sample Query:

SELECT s.student_name, c.course_name, g.grade_point, RANK() OVER (PARTITION BY c...
Start Exercise

Ready for Free Practice?

Explore the school database database on your own. Write any SQL query and see results instantly.

Open SQL Practice Environment