Skip to content

Repository files navigation

Advanced SQL

This repository contains SQL scripts and queries prepared as part of the Advanced SQL . The course focuses on deepening knowledge in SQL, including complex queries, window functions, set operations, and other advanced topics.

Introduction

The SQL files in this repository are designed to complement the lessons from the Advanced SQL course. Each file corresponds to specific topics and includes examples, exercises, and solutions.

Course Overview

This course is aimed at individuals who already have a foundational understanding of SQL and wish to expand their skills. Topics covered include:

  • Advanced Querying Techniques
  • Window Functions
  • Ranking and Partitioning
  • Complex Joins
  • Subqueries and Nested Queries
  • Set Operations
  • Date and Time Manipulation
  • Performance Optimization

Topics Covered

  1. Introduction.sql: Basic concepts and a refresher on fundamental SQL commands.
  2. Advanced_Queries.sql: Complex querying techniques including multiple conditions, case statements, and more.
  3. Window_Functions.sql: Examples of window functions like ROW_NUMBER(), RANK(), DENSE_RANK(), and NTILE().
  4. Ranking_and_Partitioning.sql: Techniques for ranking and partitioning data.
  5. Complex_Joins.sql: Examples of multi-table joins including inner, outer, cross, and self joins.
  6. Subqueries.sql: Using subqueries within SELECT, INSERT, UPDATE, and DELETE statements.
  7. Set_Operations.sql: Using UNION, INTERSECT, and EXCEPT for combining result sets.
  8. Date_Time_Manipulation.sql: Handling and manipulating date and time data in SQL.
  9. Performance_Optimization.sql: Best practices for optimizing SQL queries for performance.

Contributing

Contributions are welcome! If you have suggestions for improvements or additional examples, feel free to open a pull request.

About

This repository contains files related to advanced sql .

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors