摘要:
比较经典一个课程学分表C(cno, cname, ccredit)一个学生选课表SC(sno, cno, grade)select sno from sc,c where sc.cno=c.sno and sc.grade>=60 group by sno having sum(credit)>=3... 阅读全文
摘要:
在查看MySQL的数据库文件的时候会发现,MyISAM存储引擎类型的表会有三个文件,*.frm,*.MYD,*.MYI,但是InnoDB存储引擎的文件只有一个*.frm,原来是因为InnoDB没有开启独立表空间,执行如下命令可以看到:mysql> show variables like '%per%... 阅读全文