Answer the question
In order to leave comments, you need to log in
How to update a foreign key with an UPDATE query?
There are orders tables in it, there is a foreign key of the statuses table (id_status).
You need to change id_status.
I make a request
UPDATE orders_print SET id_status = '2' WHERE id_order_print = '1'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question