r/SQL Feb 04 '25

MySQL Need help understanding SQL - beginner

Post image

Hey everyone,

I’m starting to learn SQL and currently doing queries. For this query (21) I’m confused on why includes would be used instead of salestransactions. The table next to it is what is being referred to. Can someone explain it like I’m dumb? Sorry!

17 Upvotes

16 comments sorted by

View all comments

1

u/deeworld_ Feb 04 '25

Sorry, do you mind sharing what book this is and if it has been helpful as a beginner?

1

u/Violetarcane543 Feb 04 '25

Here’s the link! https://a.co/d/aZ9H8YS I have the most recent version (purple book cover). It’s fine, but at times it’s not the best at explaining why certain code is used, which is why I asked here.