I'm trying to join two tables but it's returning wrong result could you please suggest me how to write it.
Data: From my custom table(product_id,email,id
) have Product_id
.
Expecting Result : join the two tables (custom_table
and catalog_product_entity
) to display the Product Name, Sku and Email_id
Could you please tell me how to write it?
Best Answer
This works for me. The only change between Magento 1 and Magento 2 is how to get the table name: