I have a 'users' table, an 'offers' table, and a junction '*users_offers*' with userIDs and offerIDs.
How to select every offer from offers that belongs to a particular user?
I could achieve a solution (below) that actually starts select data from the junction table, then simply joins the offer columns, but the result is containing the junction columns as well.
SELECT *
FROM users_offers INNER JOIN offers ON users_offers.offerID = offers.ID
WHERE userID = 1
Is there any solution that starts selection with offers?