{"id":20104819,"url":"https://github.com/rnddave/sql-like-a-boss","last_synced_at":"2026-05-01T12:32:02.760Z","repository":{"id":228458452,"uuid":"545024748","full_name":"rnddave/sql-like-a-boss","owner":"rnddave","description":"Not trying to become an SQL Master, but I am looking to up my SQL game.","archived":false,"fork":false,"pushed_at":"2024-05-09T15:15:09.000Z","size":33771,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T20:38:46.653Z","etag":null,"topics":["database","databases","mysql","postgresql","sql"],"latest_commit_sha":null,"homepage":"https://david-dickinson.com","language":"PLpgSQL","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/rnddave.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":"2022-10-03T16:47:12.000Z","updated_at":"2024-05-09T15:15:14.000Z","dependencies_parsed_at":"2024-03-18T22:49:42.512Z","dependency_job_id":"807d0bf2-2c56-42ce-a7f2-3a9e677286a8","html_url":"https://github.com/rnddave/sql-like-a-boss","commit_stats":null,"previous_names":["rnddave/database-fundamentals","rnddave/sql-like-a-boss"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rnddave/sql-like-a-boss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnddave%2Fsql-like-a-boss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnddave%2Fsql-like-a-boss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnddave%2Fsql-like-a-boss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnddave%2Fsql-like-a-boss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rnddave","download_url":"https://codeload.github.com/rnddave/sql-like-a-boss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnddave%2Fsql-like-a-boss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32497810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["database","databases","mysql","postgresql","sql"],"created_at":"2024-11-13T17:44:54.560Z","updated_at":"2026-05-01T12:32:02.720Z","avatar_url":"https://github.com/rnddave.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Story of Data\n\n- Data everywhere\n- Value \u0026 value creation \n- Constantly creating more new data \n- Data creation is increasing exponentially (data capture, data storage) \n\n\n## Some SQL History\n\nWas originally called SEQUEL in early 1980's\n\n- Structured\n- English\n- QUery\n- Language\n\nBut there was some challenge to that name, hence; SQL \n\n---\n\n- [Codd's Twelve Rules](https://www.w3resource.com/sql/sql-basic/codd-12-rule-relation.php)\n\n# DBMS does the CRUD\n\n- Create \n- Read\n- Update\n- Delete\n\n- Also, Security, Management, Transaction Handling etc\n\n# The Tuple\n\nA Tuple in this sense is a single row of data in a table \n\nMultiple rows = Tuples \n\n# Cardinality \n\nThe collection of multiple rows of data = **The Cardinality**\n\n# OLTP vs OLAP\n\n2 types of relational database \n\n- Support Day to Day Business  \n- Supports Data Analysis\n\n### OLTP\n\n- On-Line Transactional Processing\n- Day-to-day-stuff\n\n### OLAP\n\n- On-Line Analytical Processing\n- Analysing data so that Day-to-Day future decisions can be made \n\n--- \n\n# SQL Command Buckets\n\n- DDL\n- DQL\n- DML\n- DCL\n\n## DDL\n\n- Data Definition Language\n- Broad statements\n- Used when setting up the database etc\n- Change things etc\n- CREATE\n- ALTER\n- DROP\n- RENAME\n- TRUNCATE\n- COMMENT\n\n## DQL\n\n- Data Query Language\n- Once a database is in place, most of your work is looking at data\n- SELECT\n\n## DML\n\n- Data Modification Language\n- data in the tables \n- DDL = Database Definitions, making changes to databases\n- whereas DML = about the tables inside the database\n- INSERT\n- UPDATE\n- DELETE\n- MERGE\n- CALL\n- EXPLAIN PLAIN\n- LOCK TABLE\n\n## DCL\n\n- Data Control Language\n- Giving and revoking access\n- GRANT\n- REVOKE\n\n---\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnddave%2Fsql-like-a-boss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frnddave%2Fsql-like-a-boss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnddave%2Fsql-like-a-boss/lists"}