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 😃

50 Upvotes

192 comments sorted by

View all comments

Show parent comment

2

u/wildjackalope May 20 '26

Basically. It’s an early tip that tells me where you’re at and steers the interview. Most analyst candidates were fine but we had some SWEs try to join our analytics team that apparently hated SQL and just left me very confused as to why they were there. We’d get the occasional person throwing a Hail Mary but just weren’t ready yet though.