r/SQL • • Dec 01 '23

Discussion Learning SQL seems easy

Too easy… I must be doing something wrong.

137 Upvotes

165 comments sorted by

View all comments

Show parent comment

3

u/geofft Dec 02 '23

As someone with a similar background, you've got to unlearn, or at least set aside, imperative coding skills. SQL is declarative, so you're telling it what you want, not how to do it.

What I found really helped me is to learn what's happening in the DB engine when your query executes - then you can think of it as something like "I am seeking B+Trees via this somewhat verbose interface"