The SQL spec is standardized by ISO/ANSI and must be purchased.
It's difficult to validate these notes without it.
This attempts to document the more general SQL-ish features available across SQL databases.
SQL spec (unofficial) https://jakewheat.github.io/sql-overview/
sql schemas sql datatypes
sql queries sql joins sql comparison operators sql conditionals sql functions sql aggregate functions