{"id":21292689,"url":"https://github.com/ravirch/postgresql-sql-guide","last_synced_at":"2025-06-22T10:39:19.970Z","repository":{"id":238967703,"uuid":"798121716","full_name":"ravirch/PostgreSQL-SQL-Guide","owner":"ravirch","description":"This repository is a comprehensive PostgreSQL SQL Guide, covering essential topics from foundational SQL queries to advanced concepts like joins, subqueries, and data manipulation commands.","archived":false,"fork":false,"pushed_at":"2024-10-02T05:04:30.000Z","size":895,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-27T01:44:21.120Z","etag":null,"topics":["postgresql","psql","sql"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ravirch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-09T06:17:13.000Z","updated_at":"2024-10-02T05:04:57.000Z","dependencies_parsed_at":"2024-11-21T17:16:49.351Z","dependency_job_id":"ff63a111-4a4a-4351-9648-b6f7fb82c4fd","html_url":"https://github.com/ravirch/PostgreSQL-SQL-Guide","commit_stats":null,"previous_names":["ravirch/sql-quest","ravirch/postgresql-sql-guide"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ravirch/PostgreSQL-SQL-Guide","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirch%2FPostgreSQL-SQL-Guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirch%2FPostgreSQL-SQL-Guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirch%2FPostgreSQL-SQL-Guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirch%2FPostgreSQL-SQL-Guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ravirch","download_url":"https://codeload.github.com/ravirch/PostgreSQL-SQL-Guide/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirch%2FPostgreSQL-SQL-Guide/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261280464,"owners_count":23134906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["postgresql","psql","sql"],"created_at":"2024-11-21T13:51:27.989Z","updated_at":"2025-06-22T10:39:14.956Z","avatar_url":"https://github.com/ravirch.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# **PostgreSQL SQL Guide**\n\nThis repository serves as a structured guide to mastering SQL using PostgreSQL. It covers foundational SQL concepts, advanced query techniques, and practical exercises to help you become proficient in SQL through step-by-step learning.\n\n## **Table of Contents**\n\n1. **[Introduction to Databases and PostgreSQL](https://github.com/ravirch/PostgreSQL-SQL-Guide/blob/main/Notes/Introduction%20to%20Databases%20and%20PostgreSQL.md)**\n   - What is a Database?\n   - Understanding Relational Database Management Systems (RDBMS)\n   - Overview of PostgreSQL and Its Features\n   - Setting Up PostgreSQL for Practice\n\n2. **[Foundation of SQL Queries](https://github.com/ravirch/PostgreSQL-SQL-Guide/blob/main/Notes/Foundation%20of%20SQL%20Queries.md)**\n   - Introduction to SQL and its Applications\n   - Retrieving Data with the SELECT Statement\n   - Filtering Rows with WHERE Clause\n   - Sorting Results with ORDER BY\n   - Introduction to Data Types in SQL\n   - Basic Operators in SQL\n   - [Read more examples here](https://github.com/ravirch/PostgreSQL-SQL-Guide/blob/main/Examples/Examples%20Foundation%20of%20SQL%20Queries.md)\n\n3. **[Advanced Filtering and Grouping](https://github.com/ravirch/PostgreSQL-SQL-Guide/blob/main/Notes/Advanced%20Filtering%20and%20Grouping.md)**\n   - Utilizing the IN Operator\n   - Understanding the NOT IN Operator\n   - Introduction to LIKE Operator for Pattern Matching\n   - Handling NULLs in SQL Queries\n   - Grouping and Aggregating Data with GROUP BY\n   - Filtering Groups with HAVING Clause\n   - [Read more examples here](https://github.com/ravirch/PostgreSQL-SQL-Guide/blob/main/Examples/Examples%20Advanced%20Filtering%20and%20Grouping.md)\n\n4. **[Mastering Joins and Subqueries](https://github.com/ravirch/PostgreSQL-SQL-Guide/blob/main/Notes/Mastering%20Joins%20and%20Subqueries.md)**\n   - Understanding JOINs in SQL\n   - Performing Inner Joins, Outer Joins, and Cross Joins\n   - Self Joins for Advanced Data Analysis\n   - Using UNION and UNION ALL for Merging Results\n   - Working with Subqueries\n   - [Read more examples here](https://github.com/ravirch/PostgreSQL-SQL-Guide/blob/main/Examples/Examples%20Mastering%20Joins%20and%20Subqueries.md)\n\n5. **[Practical Application and Table Creation](https://github.com/ravirch/PostgreSQL-SQL-Guide/blob/main/Notes/Practical%20Application%20and%20Table%20Creation.md)**\n   - Creating Tables and Specifying Constraints\n   - Column-Level Constraints (`PRIMARY KEY`, `UNIQUE`, `NOT NULL`)\n   - Table-Level Constraints (`FOREIGN KEY`, `CHECK`)\n\n6. **[Data Modification Commands](https://github.com/ravirch/PostgreSQL-SQL-Guide/blob/main/Notes/Data%20Modification%20Commands.md)**\n   - Inserting Data into Tables\n   - Updating Existing Records\n   - Deleting Records from Tables\n   - [Read more examples here](https://github.com/ravirch/PostgreSQL-SQL-Guide/blob/main/Examples/Examples%20Data%20Modification%20Commands.md)\n\n7. **Real-World Case Studies**\n   - Case Study 1: [Sales Analysis with SQL](https://github.com/ravirch/PostgreSQL-SQL-Guide/blob/main/Case%20Studies/Sales%20Analysis%20with%20SQL.md)\n   - Case Study 2: [Customer Segmentation with SQL](https://github.com/ravirch/PostgreSQL-SQL-Guide/blob/main/Case%20Studies/Customer%20Segmentation%20with%20SQL.md)\n\n8. **Self Practice**\n   - Case Study: Employee Management and Reporting: Read the solved case studies from section 7 and apply your analytical skills to create similar case study on Employee managemenet \u0026 reporting.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravirch%2Fpostgresql-sql-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravirch%2Fpostgresql-sql-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravirch%2Fpostgresql-sql-guide/lists"}