I apologize if this is a duplicate, however, I cannot find the answer I need.
Consider my data:
Table – report_detail
report_id |category |sub_category |report name
-------------------------------------------------------
1 |1 |1 |Donkey Report
2 |2 |2 |Grandma Report
3 |1 |1 |Poop Report
Table – report_subscriptions
user_id |report_id
--------------------------
1 |1
2 |2
1 |2
My question is, how do I select all of the report_id’s from the report_detail table that are not subscribed to user_id = 1 in report_subscriptions?
Thank you!
This should get you fairly close