I am looking to do a query like so:
id | int | autoincrement
something | varchar | 255
insert into `table` set something = concat('val', id);
so that the table ends up looking like
1|val1
2|val2
3|val3...
except that id always ends up being val0
for every row.
How can I do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…