注:源自于<Java程序员面试秘笈>! 1.创建数据库MYDB create database MYDB 2.创建学生表student (sno,sname,ssex,sage,sclass) create table student( sno int primary key, sname varchar(8), ssex varchar(3), sage int, scalss varchar(6) ) 3.创建课程表course(cno,cname,ccredit) create tabl…