jeudi 8 juin 2017

How to delete a data in a many to many relationship table

For example, i have 3 table which is supplier, supplier_product, and product. 1 supplier has many product and 1 product may supplied by many supplier, data stored in supplier_product table.

supplier1 - product2
supplier1 - product 1

i want to delete supplier 1 with product 1, how can i do it?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire