I am using MySQL and I want to send a statement similar to this in one query:
UPDATE fruits SET ToBuy='yes' WHERE Price <100, ToBuy='no' WHERE Price >=100
I know that I can split this into two separate requests, and it works that way, but I was wondering if it is possible to do this with a single request.
panda source share