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 😃
50
Upvotes
View all comments
Show parent comment
18
u/AnAcceptableUserName May 21 '26
I got called out on this recently working with a junior. They asked why I add INNER to all the JOINs
Answer: I like it. I find it more readable. I think it's better
To which they observed "but you don't add OUTER to the LEFT JOINs?"
...No, no I do not. And I will not elaborate on that.