I am trying to insert a new row and set the customer_id with max()+1. The reason for this is the table already has a auto_increatment on another column named id and the tabl
insert into table1(id1) select (max(id1)+1) from table1;