I have two tables (tb_Product_M and tb_Product_Product) that presents a recursion, where a Product can have several Product children. In the table tb_Product_Product contains the data of the parent_Product_id that Products children has this. I need to make a query that shows me the product_id, det_product according to the father_product_id.
---------------
|tb_Producto |
----------------
|id_Producto |
|det_Producto |
---------------
----------------------
|tb_Producto_Producto|
|id_Producto_Padre |
|id_Producto_hijo |
---------------------