摘要: file->project structure->Modules->Dependencies->+->JARs or dir...->选择包->apply 这里的选择包:mysql-connector-java-5.1.44-bin.jar,导入之后重启idea 2.用IDEA来执行sql语句 2. 阅读全文
posted @ 2021-09-08 19:31 lmandcc 阅读(950) 评论(0) 推荐(0) 编辑
摘要: 1.MySQL分组求TopN 1 分组求出成绩之和 2 SELECT sum(score),studentId from score GROUP BY studentId; 3 4 两表联合 5 select * from student left join (SELECT sum(score) a 阅读全文
posted @ 2021-09-08 16:15 lmandcc 阅读(37) 评论(0) 推荐(0) 编辑