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

Programmer Humor

32263 readers
61 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
[–] reverendsteveii@lemm.ee 3 points 10 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';