An open API service indexing awesome lists of open source software.

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.

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.