HN Hall of Fame Weekly email

Use singular nouns for database table names

www.teamten.com Essays & writing Essays & articles Software engineering Candidate
Screenshot of www.teamten.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 2 calendar years, with breakout response in 2 of them.

submissions
3
submitters
3
observed span
2023–2025
peak thread · 104 comments
89 pts
latest 20+ return · 2025-09-05
44 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

For me one of the most practical benefits of singular table names is: not having to think about the primary/foreign key names, because you can always just assume that it's "[table name]_id". If you have a "users" table, you either have to name the column "users_id", which is incorrect (because per row it's the id of a single user), or you have to use mental cycles to de-pluralize the name (or even worse, try to remember whether you called it…

This is the tabs vs spaces of SQL. Pick one and stick with it. If you join a project that has already chosen the “other” option that is not your favourite, just grow up and deal with it. Once decided, try to apply it consistently, unlike the final example given here which really ought to be “UserFactsCollection”, or List or Bag or whatever singular object they are actually saving per table row… and if you absolutely must write a blog…

(2023) at the time (89 points, 104 comments) https://news.ycombinator.com/item?id=35762682

gnabgib·2-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
135

reference only — not used in Hall rules or ranking

Total comments
155

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2023-04-30Use singular nouns for database table namesFirst breakout · Best threadpkkm89104
2025-09-05Use singular nouns for database table namesLatest 20+ point returnBogdanp4450
2025-09-06Use singular nouns for database table namesvinhnx21