ALTER TABLE batchinfo AUTO_INCREMENT = 20000;
See also Autoincrement
More Related Contents:
- MySQL Insert query doesn’t work with WHERE clause
- Delete from two tables in one query
- Why would an IN condition be slower than “=” in sql?
- PostgreSQL GROUP BY different from MySQL?
- GROUP BY behavior when no aggregate functions are present in the SELECT clause
- Fulltext Search with InnoDB
- MySQL dump by query
- MySQL’s now() +1 day
- Delete sql rows where IDs do not have a match from another table
- Rewriting mysql select to reduce time and writing tmp to disk
- How do I convert from BLOB to TEXT in MySQL?
- Can you access the auto increment value in MySQL within one statement?
- Which SQL query is better, MATCH AGAINST or LIKE?
- What does DELIMITER // do in a Trigger?
- MySQL equivalent of DECODE function in Oracle
- Mysql: how to select groups having certain values?
- How to create a multi-tenant database with shared table structures?
- MySQL #1140 – Mixing of GROUP columns
- MySQL: GROUP_CONCAT with LEFT JOIN
- Boolean vs tinyint(1) for boolean values in MySQL
- Find rows that have the same value on a column in MySQL
- How to transform vertical data into horizontal data with SQL?
- How do I list all the columns in a table?
- MySQL SELECT x FROM a WHERE NOT IN ( SELECT x FROM b ) – Unexpected result
- How do I create a table alias in MySQL
- MySql bulk load command line tool
- MySQL: Get character-set of database or table or column?
- ALTER TABLE without locking the table?
- MySQL: Typecasting NULL to 0
- MySQL subquery returns more than one row