https://github.com/ffatahillah7/sql-subquery-lesson-in-postgresql
SQL Lesson - Several Subquery Technique on PostgreSQL Database
https://github.com/ffatahillah7/sql-subquery-lesson-in-postgresql
postgresql sql subquery
Last synced: 6 months ago
JSON representation
SQL Lesson - Several Subquery Technique on PostgreSQL Database
- Host: GitHub
- URL: https://github.com/ffatahillah7/sql-subquery-lesson-in-postgresql
- Owner: ffatahillah7
- Created: 2024-11-22T12:22:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-22T12:51:10.000Z (over 1 year ago)
- Last Synced: 2025-10-31T18:02:21.413Z (6 months ago)
- Topics: postgresql, sql, subquery
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SQL SubQuery Lesson in PostgreSQL
SQL Lesson - Several Subquery Technique on PostgreSQL Database
The purpose of this project is to know about several subquery techniques and its implementation on real case using PostgreSQL.
The dataset and Sql code can be downloaded on this repo.
# Goals of the Project:
1. Create Table, Insert the data, and retrieved on postgresql.
2. Create Query that have subquery inside.
3. Knowing the difference between several subquery technique.
4. Knowing where the subquery is placed.
# Lesson Results
1. Create table need table name, column name and type of the data or column.
2. Insert data example to the table and retrieved it.
3. We know several subquery technique on Where clause such Scalar subquery, Single-Row Subquery, Multiple-Row SubQuery, Correlated Subquery, Nested Subquery.
4. Subquery on From Clause.