logoalt Hacker News

swid05/05/20251 replyview on HN

After thinking about it more, yes I agree with your take. Maybe it can even delete different ids using an =.


Replies

Diggsey05/05/2025

FWIW, I tested this locally (using `DELETE FROM example WHERE id = RANDOM(1,100)`) and it did delete multiple rows in some cases, even without a subquery.