我需要执行这一询问:
SELECT MAX(col1) FROM table1;
INSERT INTO table1 (col1) VALUES (@someting);
Where @something is MAX(col1) + 1
.
Can you help me writing queries? I need query works also with NULL values...I think I need a CAST.
This is a drupal like table. col0 is AUTO_INCREMENT, but col1 can t for a lot of reasons.
col0是主要的关键,而自动焚化是积极的。 但是,我把手法作为版本的ID。 我需要加固,不增加新的记录,我需要一眼.。