Help needed for Nested Query
For this example, I have 4 tables -
user
, podcast
, episodes
, and bookmarks
.
- bookmarks table has two columns - userId
and episodeId
- each podcast can have multiple episodeId
s, each episode can have only one podcastId
(one to many)
- each user can bookmark multiple episodeId
s, each episode can be bookmarked by multiple userId
s (many to many)
I want to get all the episodeId
s when userId
and podcastId
is provided from the bookmarks table.
1 Reply
This is what i got working!