A structured path from DB theory (ER diagrams, normalization) to hands-on SQL Server practice. Designed for systematic mastery.
DATABASE/
βββ 1) theoretical/ # Core concepts & visual guides
β βββ roadmap.md # Learning sequence & milestones
β βββ fancy-terms.md # Glossary of essential terminology
β βββ ER-diagram-relationalDatabase.md
β βββ Three-Schema-Architecture.md
β βββ type-of-relationship.md
β βββ relationshipVSjoin.md
β βββ Complete_DBMS_Notes.md # Comprehensive reference (see TOC below)
β β βββ 1. Database Fundamentals
β β βββ 2. File System vs DBMS
β β βββ 3. Components of DBMS
β β βββ 4. Database Architecture
β β βββ 5. OLAP vs OLTP
β β βββ 6. Data Abstraction
β β βββ 7. Data Independence
β β βββ 8. Database Schema
β β βββ 9. Constraints
β β βββ 10. Types of Keys
β β βββ 11. ER Diagrams
β β βββ 12. Types of Attributes
β β βββ 12. Design Technique Model
β β βββ 13. Normalization
β β βββ 14. Relational-algebra
β β βββ 15. SQL Joins
β β βββ 16. Transactions
β β βββ 17. DBMS Terminology Reference
β βββ Key.md # Deep dive on key types
β βββ *.png / *.jpg # Visual aids: ERD symbols, joins, normalization
βββ 2) practical-sql/ # Hands-on implementation
β βββ sql-server/
β βββ init-sqlserver-mydatabase.sql # Sample DB setup script
β βββ init-sqlserver-salesdb.sql # Sales DB setup script
β βββ *.bak # Ready-to-restore database backups
β βββ *.pdf # Quick-reference guides (DDL, DML, Joins, etc.)
βββ 3) resources/ # Curated learning assets
β βββ book/ # "Database System Concepts" (textbook)
β βββ sql-data-analytics-project/
β βββ sql-data-warehouse-project/
β βββ sql-ultimate-course-main/
βββ Theoretical Exercises/ # Chapter-wise problem sets (Chap 3 & 4)
Note: Microsoft does not use "SSMS 21" naming. The latest stable version is SSMS 19.x (fully compatible with SQL Server 2022). This guide covers the current official release.
-
Download SSMS
β Official download: https://aka.ms/ssmsfullsetup
β Click "Download SQL Server Management Studio (SSMS)" -
Run Installer
β LocateSSMS-Setup-ENU.exeβ Right-click β Run as administrator
β Accept license terms β Click Install -
Complete Setup
β Wait 5β10 minutes for installation
β Click Close β Recommended: Restart your computer -
Verify Installation
β PressWin + Sβ Type "SSMS" β Open application
β Check version:Help β Aboutβ Should display v19.x.x
| Scenario | Server Name | Authentication | Notes |
|---|---|---|---|
| Local default instance | localhost or . |
Windows Authentication | Requires SQL Server installed locally |
| SQL Server Express | localhost\SQLEXPRESS |
Windows Authentication | Default instance name for Express edition |
π‘ Don't have SQL Server installed?
β Download free SQL Server 2022 Express: https://www.microsoft.com/sql-server/sql-server-downloads
β During install: Select "Basic" β Note your instance name β Connect via SSMS using that name
-- Method 1: Restore from .bak file (recommended)
-- In SSMS: Right-click Databases β Restore Database β Device β Browse β Select .bak file β OK
-- Method 2: Run initialization script
-- Open init-sqlserver-mydatabase.sql β Click "Execute" (F5)π Pro Tip: Keep
Execution order.pdfopen while practicingβit reveals the logical query execution sequence (FROMβWHEREβGROUP BYβHAVINGβSELECTβORDER BY), which differs from written syntax order.
-
Theory First
β Readroadmap.mdβ StudyComplete_DBMS_Notes.mdβ Review visual aids -
Validate Understanding
β Solve problems inTheoretical Exercises/before writing code -
Hands-On Practice
β Install SSMS β Restore.bakfiles β Experiment using PDF guides -
Extend Knowledge
β Explore analytics/warehouse projects inresources/
The Datawithbaraa was created through immersive learning inspired by Datawithbaraa. His clear, structured approach to database concepts and SQL practice provided the foundational framework for this learning journey. Thank you for making complex topics accessible and actionable.
MIT License
Copyright (c) 2026 Ahnaf Nasim
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
| Concept | Files to Pair |
|---|---|
| Keys | Key.md + typesOfKeys.jpg + key.jpg |
| Joins | relationshipVSjoin.md + img-type-of-joins.png + Join.pdf |
| Normalization | normalization1.png β normalization2.png (study sequentially) |
| ER Diagrams | ER-diagram-relationalDatabase.md + ERD_Symbols_and_Notations.jpg |
β¨ "Theory without practice is sterile. Practice without theory is blind."
This repository merges bothβdesigned for learners who build to understand, not just to execute.