This project is a relational database system designed to manage and organize data within a university setting. The system models essential components of academic operations, including student records, professor information, courses offered, and course enrollments.
The database is implemented using SQL and demonstrates best practices in relational database design, including the use of primary keys, foreign keys, and normalization principles. It also includes sample data to simulate real-world use cases.
create_tables/
: Contains structure of the dataTables
insert_tables/
: Contains data in the tablesqueries/
: Contains queries and solutions
- SELECT, WHERE, ORDER BY
- JOINs (INNER, LEFT)
- GROUP BY, COUNT, HAVING
- Subqueries
- Filtering and Aggregation
- Students
- Professors
- Courses
- Enrollments (many-to-many link between students and courses)
- Use any MySQL environment (e.g., MySQL CLI, MySQL Workbench, phpMyAdmin).
- Run
schema/create_tables.sql
- Run
schema/insert_data.sql
- Practice with queries in the
queries/
folder