I have the follow query:
select user_id from user_tags
where user_id = 3086533
which outputs:
Essentially, I want to be able to take this query, and change it to only include the user_id if both the name "master_sbx" and "phonePicked"appear.
So instead of writing a query of:
select user_id from user_tags
where user_id = 3086533
with an output of:
I would like to add the clause of only including user_id of only ids that have both "master_sbx" and "phonePicked" applied, so the output would just return
Hoping this makes sense. I'm not sure its actually possible in PostGreSQL but would love any feedback! It is piece of a larger query I am going to write.