What I want to do is reset id from my database table.
Example, my table is:
id data
1 Tony
3 Johnny
5 Julia
I want to reset the id become like this:
id data
1 Tony
2 Johnny
3 Julia
How can I do it using mysql query in Java? Help me please.