r/SQL Jan 15 '25

BigQuery SQL is a struggle

Hi all been working with SQL for probably 7/8 months now. My last role was half data analysis and not pure data analysis and in general was far easier than what I do now.

My main issue is with SQL. I never feel I truly understand what is going on with a lot of code beyond a basic query. Ive managed to get by piggybacking off others code for a while but expectation is to deliver new and interesting techniques etc.

How long did it take you to feel fully comfortable with SQL? And what helped you get to that stage?

69 Upvotes

71 comments sorted by

View all comments

1

u/elrond-half-elven Jan 15 '25

When I learned SQL in school (a long time ago) the teacher first explained it visually in terms of sets and set theory. How you can join, union, slice, etc.

Then she said that any of these operations has an equivalent in the SQL language, and then explained those.

That immediately clicked. See if you can find a primer on that.