create table cdat ( localt char(20) not , cd char(5) not , snosat char(2) not , rnorec char(3) not null, id char(20) not null AUTO_INCREMENT, primary key (id) );
id自增,insert語句就是insert into table(localt, cd, snosat, rnorec) values('localt', 'cd', 'snosat', 'rnorec');spa
設置起始增加值http://bbs.csdn.net/topics/390538162?page=1 .net