repo "https://github.com/DerekStride/tree-sitter-sql"
commit "fe77f6868d6cdea593052a6af390116495093dc1"
license "MIT"
grammar {
id "sql"
name "SQL"
tag "query"
tier 2
has-scanner #true
icon "mdi:database-outline"
aliases "mysql" "postgresql" "postgres" "sqlite"
inventor "Donald D. Chamberlin and Raymond F. Boyce"
year 1974
description "Structured Query Language for relational databases; standardized by ANSI/ISO, see [ISO/IEC 9075](https://www.iso.org/standard/63555.html) (paywalled) and [SQLite documentation](https://sqlite.org/lang.html) as an open reference."
link "https://en.wikipedia.org/wiki/SQL"
trivia "Initially called SEQUEL at IBM for System R; trademark issues shortened it to SQL. Early history is recounted in Chamberlin's paper 'SEQUEL: A Structured English Query Language'."
sample {
path "samples/join.sql"
description "PostgreSQL regression test covering joins, lateral, outer joins, aggregates, and set operations."
link "https://github.com/postgres/postgres/blob/master/src/test/regress/sql/join.sql"
license "PostgreSQL"
}
}