Table A
Fields:
ShangkeID: primary key
StudentNo: student id
StudentNmae: name
StudentSign: sign in
Table B
StudentNo: student id
StudentNmae: name
Class: Class
Choose year class after class, and then click save, I want to put all the all the year of the students in class is inserted into A table, A table but there ShangkeID is A primary key, also is to the primary key when inserting data automatic generation, and is signed in, if the default is signed in state, is the value is 1,