i want to integrate data with exiting data in a column in phpmyadmin.
for example i have a table which has a column (ticket_number).
And its exiting value is 234 and want to add ‘1’ before 234 so that the value will be 1234.
this below written code not working for this.
UPDATE ticket
SET `ticket_number`+= '1';
thanks in advance.
Try using
CONCAT:Because if you add up the “1” directly you’ll get 235 not 1234…