Table Name : Product Column : Product ID - A1, A2, A3, A4 , Product status (ordered (O).
I want to check If Product ID 'A1' product status is ordered or not and if ordered than other 3 ID (A2,A3,A4) should not be updated. In same way I want to check for remaining Product ID