Every electron in an atom carries a unique 4-number address — shell n, shape l, orientation m, spin s — exactly like a slot in memory. And the Pauli exclusion principle is a unique-key constraint: no two electrons may share all four. That single rule is why each slot holds exactly one — and why the whole table is shaped the way it is.
To pin down one electron you need exactly four numbers. They nest, biggest to smallest — like shelf · book · page · line:
| symbol | name | what it picks | values |
|---|---|---|---|
| n | principal | which shell (ring / energy) | 1, 2, 3, … |
| l | azimuthal | which shape (s p d f = 0 1 2 3) | 0 … n−1 |
| mₗ | magnetic | which orientation of that shape | −l … +l |
| mₛ | spin | which way it spins (the bit) | +½ or −½ |
That's it — `(n, l, mₗ, mₛ)` locates one electron, uniquely. The first three say which orbital; the fourth (spin) is the one bit that lets two electrons share an orbital — one ↑, one ↓.
The Pauli exclusion principle says: no two electrons in an atom may have the same four numbers. In database terms, `(n, l, mₗ, mₛ)` is a primary key — every row unique, no collisions. That one rule does enormous work: it's why an orbital tops out at 2 (the only free bit is spin, which has 2 values), why shells close where they do, and why electrons stack into higher shells instead of all collapsing into the 1s. Without it, every atom would be a featureless lump and chemistry wouldn't exist.
The honest line: the four numbers and Pauli are exact physics. The "address / primary key" reading is a faithful analogy — a real key is an arbitrary label you assign; a quantum address is a set of measurable, symmetry-fixed quantities the electron actually has. The match is real where it's structural (uniqueness, the 2-from-spin bit), a metaphor where it's about storage.