数据库表结构 CREATETABLE`major`( `id`int(11)NOTNULLAUTO_INCREMENTCOMMENT'专业id', `code`varchar(20)CHARACTERSETutf8COLLATEutf8_general_ciNULLDEFAULTNULLCOMMENT'专业代码', `name`varchar(100)CHARACTERSETutf8COLLATEutf8_general_ciNULLDEFAULTNULLCOMMENT'专业名称', `parentId`int