http://sqlfiddle.com/#!9/df6245
How to delete all rows Where brand not equal to 107 for example in above fiddle GRPCD 44111 have 107 so it should not delete both rows which have GRPCD 44111 but it will delete both two rows of GRPCD 33111 because there is no brand 107 value. Please help Edit This query is working perfect someone can give me better query.
DELETE FROM `products_cross` WHERE GRPCD NOT IN (SELECT GRPCD FROM products_cross WHERE brand=107)