r/SQL • u/badboyzpwns • 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 😃
48
Upvotes
View all comments
Show parent comment
2
u/BplusHuman May 21 '26
That's normally a placeholder for when I'm going to pass a parameter later. I'll 1=0 in a join as a placeholder when I just need to cut records to do a quick check in QA. In a finished project it's kind of silly town tho