• Auto Increment id in Mysql

      0 comments

    There is a structure of a table with an auto-increment ID.Last inserted id is 2145. What will be the next ID after following conditions?
    - Delete from tablename?
    - Delete from tablename where ID=”2145″
    - truncate table tablename

    2146, 2146, 1