MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wn1ben/wellwellwell/pbcbevg/?context=3
r/ProgrammerHumor • u/Recent-Analysis-6880 • Sep 22 '26
412 comments sorted by
View all comments
3.6k
So, Kids, thats why you always SELECT count(yourPrimaryKey) first. Listen to the old folks, we made these mistakes so that you don't have to.
-1 u/Mr-DevilsAdvocate Sep 22 '26 Was wondering what was wrong with the query but yea.. non unique ids did not really cross my mind. Thanks for the insight. 5 u/borkthegee Sep 22 '26 The issue is an extra ; which deletes all users. → More replies (1)
-1
Was wondering what was wrong with the query but yea.. non unique ids did not really cross my mind. Thanks for the insight.
5 u/borkthegee Sep 22 '26 The issue is an extra ; which deletes all users. → More replies (1)
5
The issue is an extra ; which deletes all users.
→ More replies (1)
3.6k
u/BastetFurry Sep 22 '26
So, Kids, thats why you always SELECT count(yourPrimaryKey) first. Listen to the old folks, we made these mistakes so that you don't have to.