Add count display.

This commit is contained in:
Matthieu Jolimaitre 2025-06-23 21:23:00 +02:00
parent 87266e7d54
commit abc6241353
2 changed files with 18 additions and 19 deletions

View file

@ -1,21 +1,19 @@
this is a normalized data table diagram.
+----------------+
|USERS BY EMAIL |
+--+-----+-------+
|id|email|user_id|
+--+-----+-------+
| 1|b@o.b| 1|
| 2|c@r.l| 2|
+--+-----+-------+
+---------------+
|USERS |
+--+--------+---+
|id| name|age|
+--+--------+---+
| 1| bob| 19|
| 2| charlie| 23|
+--+--------+---+
┌────────────────┐
│USERS BY EMAIL │
├──┬─────┬───────┤
│id│email│user_id│
├──┼─────┼───────┤
│ 1│b@o.b│ 1│
│ 2│c@r.l│ 2│
└──┴─────┴───────┘
┌───────────────┐
│USERS │
├──┬────────┬───┤
│id│ name│age│
├──┼────────┼───┤
│ 1│ bob│ 19│
│ 2│ charlie│ 23│
└──┴────────┴───┘