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 😃

51 Upvotes

192 comments sorted by

View all comments

Show parent comment

10

u/BigBagaroo May 20 '26

I use it plenty of times when I am exploring a database and check the values in different columns.

Also, everything is allowed in love, war, and reports.

1

u/eww1991 May 21 '26

Lol. Yeah, that's another time now you say it. It's a diagnostic tool not for prod