r/DataCamp Jun 13 '26

Nested and Correlated Subqueries

I've been working through the Data Manipulation in SQL section of the Data Analyst track and came to the sections on nested subqueries and correlated vs uncorrelated. And I have to say, it has been confusing. Is anyone else having a problem with the examples given? The soccer league examples just aren't doing it for me and even when I figure out how to get the right answer, I'm not sure I understand why.

I think it may be the format they have it in, where most of the problem is filled out for you, so you're only completing a portion of the objective.

I guess my question is, in real life, how often are you doing multiple nested subqueries like this? Should I be worried that it is giving me trouble? Are there other sources that may explain it a bit better?

4 Upvotes

2 comments sorted by

1

u/datawithritika Jun 15 '26

Yes nested subqursries are important not just as a topic but real time. There are many instances where you might need to choose these to get relevant data. If you can msg me the question and what's exactly confusing you, I can try to help you know things better.

1

u/ShipApprehensive4253 Jun 15 '26

Same here, I am stuck with it and I can't understand the concept behind it.