this post was submitted on 20 Dec 2023
640 points (96.2% liked)

Programmer Humor

32233 readers
686 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 9 months ago

select only what you need and use limit

you don't know the structure of the contacts table, and do you really want christmas gifts to only go to the first x number of nice people?

update contacts set name = 'Grinch' where name = 'FellowHuman';