By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| version() |
|---|
| 8.0.30 |
Records: 100 Duplicates: 0 Warnings: 0
| Table | Create Table |
|---|---|
| orders | CREATE TABLE `orders` ( `id` int NOT NULL AUTO_INCREMENT, `product` int NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=128 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci |
| max(id) |
|---|
| 100 |
Records: 100 Duplicates: 0 Warnings: 0
| id | nextValue |
|---|---|
| 100 | 128 |