This repository contains solutions to the top 50 SQL problems on LeetCode, covering advanced string functions, regex, clauses, basic aggregation functions, joins, sorting, grouping, subqueries, and more.
README.md
: An overview of the repository and how to use it.advanced_string_functions_regex_clauses.sql
: Solutions for advanced string functions, regex, and clause-based problems.basic_aggregation_function.sql
: Solutions focusing on basic aggregation functions like COUNT, SUM, AVG, etc.basic_join.sql
: Solutions demonstrating various types of SQL joins (INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN).select.sql
: Basic SELECT statement solutions.sorting_and_group.sql
: Solutions for sorting and grouping data using ORDER BY and GROUP BY.subqueries.sql
: Solutions involving subqueries.
- Clone this repository to your local machine.
- Open each SQL file in a text editor or IDE that supports SQL syntax highlighting.
- Review the provided solutions and explanations.
- Try solving the problems on your own before looking at the solutions.
- Use these solutions as a reference or learning tool to improve your SQL skills.
Author: deepak14ri
Commit Message: new problem solved
Latest Commit Hash: b6bce78
Date: 12 hours ago
- SELECT: Basic SELECT statement solutions to retrieve data from one or more tables.
- BASIC AGGREGATION FUNCTION: Solutions for filtering employee information using basic aggregation functions.
- BASIC JOIN: Demonstrates various join techniques to combine rows from two or more tables based on a related column.
- SORTING AND GROUP: Solutions for sorting and grouping employee information.
- SUBQUERIES: Solutions involving subqueries to perform operations within a query.
- ADVANCED STRING FUNCTIONS + REGEX + CLAUSE: Solutions for problems requiring advanced string manipulation, regular expressions, and specific SQL clauses.
Contributions are welcome Please feel free to submit a pull request if you have improvements or additional solutions.
This project is licensed under the MIT License - see the LICENSE file for details.