There is chaos building in the SQL-section of the documentation.
People are adding samples from various (incompatible) SQL-dialects, and there is no mentioning which SQL-dialect it is.
For example:
String functions LEN and DATALENGTH, which are T-SQL exclusively.
in example database a sample with
Id INT NOT NULL AUTO_INCREMENT
, which will only ever work in MySQL, but no mentioning of that fact.in like examples Match ANY versus ALL code that will only work in PostgreSQL, but no mentioning of that fact (nor any comparison of how to do it on various rdbms systems, which is what I would expect from a SQL-documentation.
Additionaly, I can't add comments to examples.
For example, there is this code in example database
CREATE TABLE Authors (
Id INT NOT NULL AUTO_INCREMENT,
Name VARCHAR(70) NOT NULL,
Country VARCHAR(100) NOT NULL,
PRIMARY KEY(Id)
);
INSERT INTO Authors
(Name, Country)
VALUES
('J.D. Salinger', 'USA'),
('F. Scott. Fitzgerald', 'USA'),
('Jane Austen', 'UK'),
('Scott Hanselman', 'USA'),
('Jason N. Gaylord', 'USA'),
('Pranav Rastogi', 'India'),
('Todd Miranda', 'USA'),
('Christian Wenz', 'USA')
;
but I can't even add a comment to please not do this, because the countries aren't normalized (a sample should be best-practises, not some rubbish)...