Where can I find SQL language specification

user2889159 picture user2889159 · Feb 16, 2014 · Viewed 8.6k times · Source

Is there an official SQL standard? I.e. I want to understand what type of expression is supported by SQL language and how this expression evaluated by server? What documents are using for implementation SQL based databases?

Answer

a_horse_with_no_name picture a_horse_with_no_name · Feb 16, 2014

There is an official SQL standard from the ISO/ANSI committee.

Some information can be found here: http://en.wikipedia.org/wiki/Sql

However the specification itself is not freely available. You might find some drafts of older specs in the internet if you search for it.

A nice explanation of the (yet a bit old) ANSI 99 standard is here: https://mariadb.com/kb/en/sql-99-complete-really/