I got problem here. im updating name where B has the biggest value.
so the results are
B | name ---|------ 1 | 2 | 3 | YES
but wh
You have to run UPDATE products set name = ''; everytime and then :
UPDATE products set name = '';
UPDATE products set name = 'YES' WHERE B > 0 ORDER BY B DESC