table orders
+----+--------+------------+
|s.no| id | ordername |
+----+--------+------------+
| 1 | 34 | name |
+----+--------+------------+
| 2 | 35 | name |
+----+--------+------------+
| 3 | 36 | name |
+----+--------+------------+
| 4 | 37 | name |
+----+--------+------------+
| 5 | 38 | name |
+----+--------+------------+
为自动生成序列号编写查询,当我从 sql 中删除一个订单时,因此序列号应该在 serial_number 行中为 1234567,并且我使用订单 ID 作为自动增量