练习: 1.建立表关系: 请创建如下表,并创建相关约束 USE db1; CREATE TABLE class( cid INT AUTO_INCREMENT PRIMARY KEY, caption ) ); CREATE TABLE teacher( tid INT AUTO_INCREMENT PRIMARY KEY, tname ) ); CREATE TABLE course( cid INT AUTO_INCREMENT PRIMARY KEY, cname ), teach_id…