r/SQL • • May 20 '26

PostgreSQL What are common SQL red flags?

Hello! interview prepping, here wondering what are some common red flags for wrioting SQL?

Like

LIKE failing to index, not having trasnactions, usign SELECT * instead of specific collums, etc 😃

49 Upvotes

192 comments sorted by

View all comments

Show parent comment

3

u/DanNeider May 20 '26

I had a PR rejected because it wasn't "performative code". I can see where they were coming from, but why not just tell me your preference for next time and approve it?