Mono repo of database training labs.
Data modeling: schemas, tables, and ER diagrams.
Normalization and schema implementation using SQL Server.
Setup
-
Start the SQL Server container:
docker compose up -d
The server will be available on port
48370with SA passwordPassword!. -
Connect to the database and run the scripts in order:
migrations/init.sql- creates the schemamigrations/seed.sql- populates the data
-
Run
migrations/assert.sqlto execute the assertion query.
Relational vs. document design using MongoDB.
- Sample data:
shop_smart.products.json- import via MongoDB Compass intoproducts_nmummau - Query examples:
QueryExamples.md