Instead of having a table serial_status(id,serial,status), split the table so that you have two tables serial_status_b(id,serial) and serial_status_y(id,serial). If the (id,serial) need to be unique, make a third table referenced by these two by a foreign key constraint.
Hope it will help you.
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --