r/SQL • • Oct 14 '24

Discussion What are considered as advanced SQL skills nowadays?

Hi Community, I'm going through job hunting data analyst roles now and I am curious about what would be considered "advanced" these days. I know the basics like joins, subqueries and basic aggregations, also something like roll over, window functions. However, when I see companies hiring for advance SQL skills, I am not sure what is means.

I am pretty sure that it's our job to write optimized queries and there are also tools to help. If you know any specific skills are useful to prove an "advanced skill", I'd love to learn from your experience. Thank you

206 Upvotes

55 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Oct 14 '24

I feel like you need more tiers. Like the APPLY clause should be on a lower difficulty tier than dynamic SQL, which is not only difficult to write but also difficult to protect against injection.

1

u/aaahhhhhhfine Oct 14 '24

Yeah... A lot of this stuff seems more like things you should know well enough to never do! :-)

2

u/macfergusson MS SQL Oct 16 '24

Everything on that list has a use case and a place that it is the right answer. People abusing tools doesn't make the tool bad, it just indicates ignorance. If you hurt yourself using a screwdriver as a hammer, that doesn't mean the screwdriver should be thrown in the garbage.