https://github.com/shivabajelan/sql-project-with-pubs-database
This SQL project uses the classic Microsoft Pubs sample database. It includes queries and scripts that explore core SQL techniques such as data retrieval, filtering, joins, aggregations, and subqueries. The aim is to provide clear, hands-on examples of SQL in action using a structured, well-documented dataset.
https://github.com/shivabajelan/sql-project-with-pubs-database
microsoft-sql-server microsoft-sql-server-management-studio sql
Last synced: about 2 months ago
JSON representation
This SQL project uses the classic Microsoft Pubs sample database. It includes queries and scripts that explore core SQL techniques such as data retrieval, filtering, joins, aggregations, and subqueries. The aim is to provide clear, hands-on examples of SQL in action using a structured, well-documented dataset.
- Host: GitHub
- URL: https://github.com/shivabajelan/sql-project-with-pubs-database
- Owner: Shivabajelan
- License: mit
- Created: 2025-04-06T15:19:55.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-05-26T02:47:54.000Z (5 months ago)
- Last Synced: 2025-06-25T02:44:53.617Z (4 months ago)
- Topics: microsoft-sql-server, microsoft-sql-server-management-studio, sql
- Homepage:
- Size: 1.52 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SQL Project with Pubs Database
This SQL project explores the classic Microsoft **Pubs** sample database. It features a collection of queries and scripts designed to demonstrate core SQL skills through real-world scenarios.
## 📌 Overview
The project focuses on essential SQL concepts, including:
- Data retrieval using `SELECT` statements
- Filtering with `WHERE`, `LIKE`, `IN`, and `BETWEEN`
- Sorting and ordering data
- Table joins (INNER, LEFT, RIGHT)
- Aggregation using `GROUP BY` and `HAVING`
- Subqueries and nested queriesThe aim is to provide clear, practical examples of how SQL can be used to explore and analyze relational data in a structured and meaningful way.
## 📘 Pubs Database Relational Diagram
### The diagram below shows the relationships between key tables in the classic Pubs database, including `authors`, `titles`, `publishers`, and their junction tables.

---## 🧰 Tech Stack
- Microsoft SQL Server
- SQL Server Management Studio (SSMS)
- Git + GitHub
## ✅ Use CasesThis project is suitable for:
- Practicing intermediate SQL skills- Demonstrating SQL knowledge to potential employers
- Understanding cross-server querying via Linked Servers
- Exploring a relational dataset with well-defined entities
## 📬 Contact
Feel free to connect with me on LinkedIn https://www.linkedin.com/in/shiva-bajelan-4443722a5/ if you have questions, suggestions, or just want to chat about SQL or data analytics.