摘要:
#select 表达式会进行判断 如果符合条件,会返回一个1或者0,所以这儿用来如果<60则返回1#只需要把返回的加起进行比较,如果大于2,则不满足条SELECT name,sum(score<60) as gk,AVG(score) from result GROUP BY name having 阅读全文
摘要:
多个表存在一个数据库里 table and database 多个数据库存在一个数据服务器里 database and server 查表 先进库 Use database 认识sql structured Query language 结构化查询语言 是what 语言不是 howyuyan how 阅读全文
摘要:
static 属性 代码块 静态先执行 //执行的先后顺序 public class Main { public Main() {//第五执行 System.out.println("Main"); } static{ 第一执行(只执行一次) First f = new First(); Secon 阅读全文