I am a little bit rusty on my SQL and would like some help with these queries that I am struggling getting my head round or even finding out if it is possible.
Hi so I have some tables;
clients,products,clientproducts
when a client opts in for a product that is added to clientproducts, using the clientid and the productid.
the easy query I want to run a query that will only show me products the client has opted in for.
the harder one I also want to run a query that will show me just the clients that haven't opted in for a product/s.
Thank you for your help in advance.