Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Adding distinct or group by to a query is not some advanced technic comments are suggesting. It does not slow down development one bit, if you expect distinct result you put explicit distinct in the query, it's not a "safety measure for insulin pumps". Scratching my head what I've missed here, please enlighten me.


DISTINCT would just be masking the query bug

Random DISTINCT is usually a code smell that indicates an incorrect join / filter




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: