Answer the question
In order to leave comments, you need to log in
How to add such a SQL query?
Hello.
There is this SQL query:
INSERT INTO db (name,f,link,time) VALUES ('%name%','%price%','%link%','%date%');
Answer the question
In order to leave comments, you need to log in
Probably something like this:
INSERT INTO db (name, f, link, time) VALUES ('%name%', '%price%', '%link%', '%date%')
ON DUPLICATE KEY UPDATE f = CONCAT_WS('|', f, '%price%'), time = CONCAT_WS('|', time, '%date%')
kevus ,
how is it?
INSERT INTO db (name,f,link,time) VALUES ('%name%','%price%','%link%','%date%')
ON DUPLICATE KEY UPDATE f=CONCAT_WS('|', f, '%price%');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question