Skip to content

Dokectis/SQL-Server-Fundamentals-Practice-Exercises

Repository files navigation

SQL Server Fundamentals - Mastering Essential Query Techniques 🚀

This repository is dedicated to mastering the fundamental concepts and hands-on skills required to effectively query and manage data within SQL Server. It is designed to reinforce the essential techniques covered in the LinkedIn Learning course.


🎯 Objective

To provide a practical sandbox for practicing basic to advanced query techniques, focusing on writing clean, efficient, and well-structured SQL code for real-world scenarios.

🛠 Tech Stack & Tools

  • Database Engine: SQL Server 2022 Developer Edition
  • Management & Querying: SQL Server Management Studio (SSMS), Azure Data Studio
  • Version Control: Git & GitHub

📚 Course Information

This repository is aligned with the following course:


🚀 Getting Started

Local Setup

  1. Clone this repository to your local machine:
    git clone [https://github.com/Dokectis/SQL-Server-Fundamentals-Practice-Exercises.git](https://github.com/Dokectis/SQL-Server-Fundamentals-Practice-Exercises.git)
  2. Open the exercises in your preferred SQL editor (SSMS or Azure Data Studio).
  3. Complete the exercises as instructed within the course, focusing on writing efficient queries.

🌟 Senior Engineer Bonuses (Advanced SQL Server Concepts)

As a Senior Data Engineer, I've extended this foundational repository with advanced concepts and best practices to show how basic SQL is scaled in enterprise environments.

🏗 Business Intelligence & Advanced Analytics

  • Window Functions (CTEs): Practice complex analytical queries using ROW_NUMBER(), RANK(), LEAD(), and LAG() within Common Table Expressions (CTEs) to simplify code and improve readability.
  • Hierarchical Data Processing: Explore recursive CTEs to process hierarchical structures like organization charts or bill-of-materials.

📈 Database Optimization & Performance Tuning

  • Query Performance Analysis: Go beyond simple querying and learn how to use Execution Plans in SSMS to identify bottlenecks, table scans, and expensive operations.
  • Index Tuning Fundamentals: Understand the impact of Clustered vs. Non-Clustered indexes on query performance and how to create efficient index strategies.

🔧 Best Practices for Clean Code

  • T-SQL Formatting Standards: Learn and apply a consistent, enterprise-standard formatting style for all SQL scripts to ensure maintainability.
  • Efficient JOIN Strategies: Practice using proper JOIN types (INNER, LEFT, RIGHT, FULL) and understand their performance implications when dealing with large datasets.

👨‍💻 About the Author

Carlos Araque L. Data Engineer with 10+ years of experience delivering enterprise-scale data platforms across Australia and internationally. Renewed Databricks Certified Data Engineer Associate (2026) | Qiskit Advocate.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages