SQL example by Ciro Santilli 40 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 standard by Ciro Santilli 40 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 by Ciro Santilli 40 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.
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 by Ciro Santilli 40 Updated 2025-07-16
Video 1.
Introduction to Spintronics by Aurélien Manchon (2020)
Source.
TODO. Can't find it easily. Anyone?
This is closely linked to the Pauli exclusion principle.
What does a particle even mean, right? Especially in quantum field theory, where two electrons are just vibrations of a single electron field.
Another issue is that if we consider magnetism, things only make sense if we add special relativity, since Maxwell's equations require special relativity, so a non approximate solution for this will necessarily require full quantum electrodynamics.
As mentioned at lecture 1 youtube.com/watch?video=H3AFzbrqH68&t=555, relativistic quantum mechanical theories like the Dirac equation and Klein-Gordon equation make no sense for a "single particle": they must imply that particles can pop in out of existence.
Bibliography:

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