Suppose i have an auto incremented column named 'ID' and it is going on like 1,2,3,4 but after 4 i want it to start from 1 again. So it will be like 1,2,3,4,1,2,3,4,1,2...and so on. So how to reinitialize the auto increment to 0? I have tried with this also but no solution .
ALTER TABLE 'TABLENAME' AUTO_INCREMENT=0