https://github.com/its-ekanshi/sql-analytics-project
Designed relational tables with primary and foreign keys, populated with sample data for real-world testing. Implemented advanced SQL techniques such as CTEs, window functions, aggregates, and filters to extract valuable insights.
https://github.com/its-ekanshi/sql-analytics-project
business-intelligence data-analysis exploratory-data-analysis microsoft-sql-server sql sql-queries
Last synced: 6 months ago
JSON representation
Designed relational tables with primary and foreign keys, populated with sample data for real-world testing. Implemented advanced SQL techniques such as CTEs, window functions, aggregates, and filters to extract valuable insights.
- Host: GitHub
- URL: https://github.com/its-ekanshi/sql-analytics-project
- Owner: its-ekanshi
- Created: 2025-01-18T07:07:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-22T10:46:09.000Z (8 months ago)
- Last Synced: 2025-07-22T12:28:26.443Z (8 months ago)
- Topics: business-intelligence, data-analysis, exploratory-data-analysis, microsoft-sql-server, sql, sql-queries
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📌 SQL Queries Repository
## 📝 Overview
This repository contains a collection of **SQL practice queries** designed for **interview preparation** and real-world database problem-solving. The queries cover a range of difficulty levels, from basic to advanced, and are written for **SQL Server**.
## 🔍 About the Project
Solving a set of SQL problems using two tables: **users** and **logins**. The key highlights include:
✅ **Designed relational tables** with primary and foreign keys.
✅ **Inserted sample data** for real-world scenarios.
✅ **Explored advanced SQL concepts** like CTEs, window functions, aggregate functions, and filtering techniques to derive meaningful insights.
## 🛠️ Technologies Used
- **SQL Server** – Database Management System
- **T-SQL (Transact-SQL)** – Query Language
## 🔍 Topics Covered
✅ **Basic SQL Queries** – SELECT, WHERE, ORDER BY, GROUP BY, HAVING, LIMIT, DISTINCT
✅ **Joins & Relationships** – INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL OUTER JOIN, SELF JOIN
✅ **Subqueries & CTEs** – Nested Queries, Common Table Expressions (CTEs)
✅ **Window Functions** – RANK(), DENSE_RANK(), ROW_NUMBER(), LAG(), LEAD()
✅ **Stored Procedures & Triggers** – Creating automated database functions
✅ **Performance Optimization** – Indexing, Query Execution Plans, Normalization
✅ **SQL Interview Questions** – Real-world problems and test scenarios
## 🎯 Purpose of This Repository
- 📚 **Practice SQL Queries** to improve database skills.
- 🎯 **Prepare for SQL Interviews** with commonly asked SQL problems.
- 🔍 **Explore Complex Query Scenarios** used in real-world applications.
## 📬 Connect with Me
**[LinkedIn](https://www.linkedin.com/in/ekanshisaxena/)** or check out my **[GitHub](https://github.com/its-ekanshi/)** for more projects.