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 😃

49 Upvotes

192 comments sorted by

View all comments

Show parent comment

1

u/ComicOzzy sqlHippo May 22 '26

The thing I can't understand is why you mix methods of quoting identifiers?

1

u/foxsimile May 22 '26

Because it makes the aliasing visually distinct from the column references.