{"id":51844149,"url":"https://github.com/blackiq/know-postgres","last_synced_at":"2026-07-23T10:01:13.854Z","repository":{"id":364417242,"uuid":"1267808637","full_name":"BlackIQ/know-postgres","owner":"BlackIQ","description":"A practical, example-driven guide to PostgreSQL, from SQL fundamentals to PostgreSQL-specific features.","archived":false,"fork":false,"pushed_at":"2026-07-05T23:49:07.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-06T01:13:41.660Z","etag":null,"topics":["cheatsheet","database","examples","knowx","learning","postgresql","reference","sql","tutorial"],"latest_commit_sha":null,"homepage":"https://github.com/BlackIQ/know-x","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlackIQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":["https://paypal.me/meBlackIQ","https://www.patreon.com/BlackIQ","https://idpay.ir/amirhosseinmohammadi"]}},"created_at":"2026-06-12T22:03:34.000Z","updated_at":"2026-07-06T00:17:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/BlackIQ/know-postgres","commit_stats":null,"previous_names":["blackiq/postgres-cheat-sheet","blackiq/know-postgres"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BlackIQ/know-postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackIQ%2Fknow-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackIQ%2Fknow-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackIQ%2Fknow-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackIQ%2Fknow-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlackIQ","download_url":"https://codeload.github.com/BlackIQ/know-postgres/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackIQ%2Fknow-postgres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35798804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-23T02:00:06.683Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cheatsheet","database","examples","knowx","learning","postgresql","reference","sql","tutorial"],"created_at":"2026-07-23T10:01:12.968Z","updated_at":"2026-07-23T10:01:13.846Z","avatar_url":"https://github.com/BlackIQ.png","language":null,"funding_links":["https://paypal.me/meBlackIQ","https://www.patreon.com/BlackIQ","https://idpay.ir/amirhosseinmohammadi"],"categories":[],"sub_categories":[],"readme":"# PostgreSQL Cheat Sheet\n\nA very simple, good, fast way to learn **PostgreSQL** (if you already know SQL) also you may learn SQL here too.\n\n## Chapters\n\nIt has kind of everything a beginer need to know. Even `JOIN` or other things. But in category:\n\n- `TABLE`: Create, Drop, Truncate, Not NULL stuff\n- `SELECT`: All columns, specified columns\n- `INSERT`: Simple way, specified columns, insert many\n- `WHERE`: Covering important things like between, less, more and etc\n- `UPDATE`: Updating single row and multi rows with WHERE\n- `DELETE`: Deleting single row and multi rows with WHERE\n- `ORDER BY`: Sorting one col, more than one col having ASC and DESC\n- `GROUP BY`: Base of grouping and aggrigation\n- `HAVING`: Maybe another time I'll add it\n- `LIMIT`: Using sort and limit\n- `ALTER TABLE`: Add columns, remove columns\n- `Multi Table`: Having more than 1 tables\n- `FOREIGN KEY`: Relation Matters Most (RMM)\n- `JOIN`: A brief of how is join working. **EVEN GOD DOESN'T KNOW**\n- `JOIN`: Using INNER, LEFT, RIGHT and FULL. **EVEN GOD DOESN'T KNOW**\n- `Relations`: One to One (1:1), One to Many (1:N), Many to Many (N:N)\n\n## Why PostgreSQL cheat sheet?\n\nThis is 1:30 AM Jun 13 here in Tehran, ran out of Melatonin pils. So, creating this cheat sheet is only thing I could do.\n\n---\n\n### Enjoy :)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackiq%2Fknow-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackiq%2Fknow-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackiq%2Fknow-postgres/lists"}