https://github.com/ccnokes/learn-sql
This is where I'm learning SQL because I'm not great at it
https://github.com/ccnokes/learn-sql
Last synced: over 1 year ago
JSON representation
This is where I'm learning SQL because I'm not great at it
- Host: GitHub
- URL: https://github.com/ccnokes/learn-sql
- Owner: ccnokes
- Created: 2023-11-08T05:30:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-13T02:59:57.000Z (over 2 years ago)
- Last Synced: 2025-01-18T17:55:23.074Z (over 1 year ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My attempt to learn SQL
Probably going to use local sqlite DBs as much as possible to do this, even though it's not as robust as Postgres or mySQL.
## SQLite notes
### Create db
Can use the CLI or from a file:
```
sqlite3 < sql-file-name.sql
```
### Get nicely formatted output
in sqlite CLI, run:
```
.mode column
```