SQL example Updated 2025-07-16
We have some runnable SQL examples with assertion under the sequelize/raw directory.
These examples are written in the Sequelize library using raw queries.
Sequelize is used minimally, just to feed raw queries in transparently to any underlying database, and get minimally parsed results out for us, which we then assert with standard JavaScript. The queries themselves are all written by hand.
By default the examples run on SQLite. Just like the examples from sequelize example, you can set the database at runtime as:
Here we list only examples which we believe are standard SQL, and should therefore work across different SQL implementations:
SQL keyword Updated 2025-07-16
SQL standard Updated 2025-07-16
A quick look at PostgreSQL's compliance notes: www.postgresql.org/docs/13/features.html shows the complete utter mess that this standard is. Multiple compliance levels that no one fully implements and optional features everywhere.
SQL tree traversal Updated 2025-07-16
Spontaneous emission defies causality Updated 2025-07-16
TODO understand better, mentioned e.g. at Subtle is the Lord by Abraham Pais (1982) page 20, and is something that Einstein worked on.
Spin 2 Updated 2025-07-16
Theorized for the graviton.
Stern-Gerlach experiment Updated 2025-07-16
Originally done with (neutral) silver atoms in 1921, but even clearer theoretically was the hydrogen reproduction in 1927 by T. E. Phipps and J. B. Taylor.
Video 1.
The Stern-Gerlach Experiment by Educational Services, Inc (1967)
Source. Featuring MIT Professor Jerrold R. Zacharias. Amazing experimental setup demonstration, he takes apart much of the experiment to show what's going on.
Spintronics Updated 2025-07-16
Video 1.
Introduction to Spintronics by Aurélien Manchon (2020)
Source.

There are unlisted articles, also show them or only show them.