A modern MariaDB sample database tailored for learning SQL.
Project details
University DB is a comprehensive sample database designed specifically for MariaDB 11.7+. It offers extensive features, including support for advanced data types like JSON and VECTOR, a complete normalization to 3NF, and an array of tables and queries for users to practice and explore SQL functionalities effectively.
University DB is an innovative and modern MariaDB 11.7+ sample database designed to offer a comprehensive learning experience in SQL, created as an alternative to the outdated Sakila database. This repository provides a rich dataset that encompasses various MariaDB data types—including VECTOR and JSON—and features a structure that is fully normalized to 3NF, making it suitable for both beginners and advanced users.
INT, BIGINT, TINYINT, CHAR, VARCHAR, TEXT, MEDIUMTEXT, DECIMAL, DATE, DATETIME, TIMESTAMP, TIME, YEAR, ENUM, SET, BOOLEAN, JSON, and VECTOR(1536).courses and publications, enhancing querying capabilities.SELECT statements to advanced EXPLAIN ANALYZE commands and window functions.| Feature | Sakila | University DB |
|---|---|---|
| Designed for | MySQL 5.x | MariaDB 11.7+ |
| JSON support | No | Yes (5 columns) |
| VECTOR support | No | Yes VECTOR(1536) |
| FULLTEXT indexes | No | Yes (2 indexes) |
| Analytical big table | No | Yes (120,000 rows) |
| Recursive CTEs demo | No | Yes |
| Stored procedures | 3 | 6 |
| Triggers | 6 | 7 |
| Views | 7 | 7 |
The database includes essential tables such as departments, faculty, students, and grade_events, with notable features including:
JSON columns to manage complex data structures easily, enhancing the functionality and flexibility of data entries.The University DB supports various database objects like views, stored procedures, and triggers that streamline data management and querying processes:
Users can progressively enhance their SQL skills by working through a structured learning path provided in the repository, from basic selections to more complex database operations:
In summary, University DB serves as an essential resource for anyone looking to master SQL with a focus on modern MariaDB features. The comprehensive structure, combined with extensive learning materials, enables users to engage with and understand complex database concepts effectively.
Comments
0Start the conversation
Share the first comment.