https://github.com/peymanslh/sql
Learn SQL by example
https://github.com/peymanslh/sql
mysql postgresql sql
Last synced: about 2 months ago
JSON representation
Learn SQL by example
- Host: GitHub
- URL: https://github.com/peymanslh/sql
- Owner: peymanslh
- License: mit
- Created: 2023-09-14T23:44:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-09T13:47:38.000Z (over 2 years ago)
- Last Synced: 2025-03-18T17:57:16.097Z (over 1 year ago)
- Topics: mysql, postgresql, sql
- Language: PLpgSQL
- Homepage: https://peyman.blog/sql/
- Size: 3.42 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SQL by example
## Setup
Install extended version of hugo.
- Run development server: `hugo server`.
- Create a new post: `hugo new --kind post posts/.md`
## TODO
- [x] SELECT
- [x] WHERE
- [x] INSERT
- [x] UPDATE
- [x] DELETE
- [x] ORDER BY
- [x] GROUP BY
- [x] AND, OR, NOT
- [x] LIMIT
- [x] Comments
- [x] MIN, MAX
- [x] COUNT
- [x] SUM
- [x] AVG
- [x] AS (Alias)
- [x] LIKE
- [x] SELECT DISTINCT
- [x] IN
- [x] BETWEEN
- [ ] JOIN
- [ ] INNER JOIN
- [ ] LEFT JOIN
- [ ] RIGHT JOIN
- [ ] FULL JOIN
- [ ] CROSS JOIN
- [ ] UNION
- [ ] WITH
- [ ] HAVING
- [ ] EXISTS
- [ ] ROUND
- [ ] ANY
- [ ] ALL
- [ ] CASE
- [ ] NULL
- [ ] ALTER TABLE
- [ ] TRUNCATE
- [ ] SIMILAR TO https://www.postgresql.org/docs/16/functions-matching.html
- [ ] Operators
- [ ] Constraints
- [ ] Unique
- [ ] Primary key
- [ ] Index
- [ ] Default
- [ ] Auto increment
- [ ] Dates and times
## License
Licensed under the [MIT License](LICENSE)