I have table Product with fields : id (PK), title (UQ), price, status
I wrote query which should update row if table already has such title
INSERT INTO product (title, price, `status`)
VALUES("Black boots", 222.18, 1)
ON DUPLICATE KEY UPDATE price = 125.00 AND `status` = 2
That's just example for one product. However, after running this query I am getting message that query was successfuly executed, but price becomes = 0.00 (sometimes 1.00) and status does not change. What is my problem?