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 😃
51
Upvotes
View all comments
Show parent comment
14
u/Shaddcs May 21 '26
I inherited a bunch of code from an older guy who retired and I removed OUTER from all his LEFT JOINs but added INNER to all his JOINs. 🤷🏻♂️