|
| 1 | +# LeetCode SQL TOP 50 Solutions |
| 2 | + |
| 3 | +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. |
| 4 | + |
| 5 | +## Repository Structure |
| 6 | + |
| 7 | +- `README.md`: An overview of the repository and how to use it. |
| 8 | +- `advanced_string_functions_regex_clauses.sql`: Solutions for advanced string functions, regex, and clause-based problems. |
| 9 | +- `basic_aggregation_function.sql`: Solutions focusing on basic aggregation functions like COUNT, SUM, AVG, etc. |
| 10 | +- `basic_join.sql`: Solutions demonstrating various types of SQL joins (INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN). |
| 11 | +- `select.sql`: Basic SELECT statement solutions. |
| 12 | +- `sorting_and_group.sql`: Solutions for sorting and grouping data using ORDER BY and GROUP BY. |
| 13 | +- `subqueries.sql`: Solutions involving subqueries. |
| 14 | + |
| 15 | +## How to Use This Repository |
| 16 | + |
| 17 | +1. Clone this repository to your local machine. |
| 18 | +2. Open each SQL file in a text editor or IDE that supports SQL syntax highlighting. |
| 19 | +3. Review the provided solutions and explanations. |
| 20 | +4. Try solving the problems on your own before looking at the solutions. |
| 21 | +5. Use these solutions as a reference or learning tool to improve your SQL skills. |
| 22 | + |
| 23 | +## Latest Commit |
| 24 | + |
| 25 | +**Author:** deepak14ri |
| 26 | +**Commit Message:** test |
| 27 | +**Latest Commit Hash:** b6bce78 |
| 28 | +**Date:** 12 hours ago |
| 29 | + |
| 30 | +## History |
| 31 | + |
| 32 | +- **ADVANCED STRING FUNCTIONS + REGEX + CLAUSE**: Solutions for problems requiring advanced string manipulation, regular expressions, and specific SQL clauses. |
| 33 | +- **BASIC AGGREGATION FUNCTION**: Solutions for filtering employee information using basic aggregation functions. |
| 34 | +- **BASIC JOIN**: Demonstrates various join techniques to combine rows from two or more tables based on a related column. |
| 35 | +- **SELECT**: Basic SELECT statement solutions to retrieve data from one or more tables. |
| 36 | +- **SORTING AND GROUP**: Solutions for sorting and grouping employee information. |
| 37 | +- **SUBQUERIES**: Solutions involving subqueries to perform operations within a query. |
| 38 | + |
| 39 | +## Contributing |
| 40 | + |
| 41 | +Contributions are welcome Please feel free to submit a pull request if you have improvements or additional solutions. |
| 42 | + |
| 43 | +## License |
| 44 | + |
| 45 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
0 commit comments