I have a MySQL table with 1200 records but now I have a problem…
I need to create a new field called index each row containing numbers 1-1200.
Typing these in manually would take a while and I would really prefer a query to do this if possible
Any help appreciated
Update table x set index=id; given you have id as autoincrement value