Guys i have that table in DB
-------------------------------------------------------------
ID | COMPANY_ID | NAME | DESCRIPTION | BARCODE
-------------------------------------------------------------
i want to make a constraints that unique barcodes should be enetered with same companyID .... so how to do that in mysql ??
NB: i cam enter multiple company_id in the table