I have 3 tables on my database with the following data:
tb_collection: id_collection, name
tb_collection_product: id, id_collection, id_product
tb_product: id_product, photo
Here's what I'm trying to do:
Select the last 2 products of each collection...I've tried group by with no luck.