and,or,in,distinct,like,@,is null,is not null,where,GROUP BY,聚合函数MAX,MIN,AVG ...
分类:
数据库 时间:
2020-05-23 09:40:55
阅读次数:
63
题目1 1112. 每位学生的最高成绩 编写一个 SQL 查询,查询每位学生获得的最高成绩和它所对应的科目,若科目成绩并列,取?course_id?最小的一门。查询结果需按?student_id?增序进行排序。 题解 注意这里grade的外层查询需要结合group by,或者查max(grade), ...
分类:
数据库 时间:
2020-05-23 00:36:26
阅读次数:
84
1 JML语言的理论基础及应用工具链 1.1 JML语言 Java建模语言(JML)是一种行为接口规范语言,可用于指定Java模块的行为。它结合了Eiffel的“契约设计(design by contract)”方法和Larch系列接口规范语言的基于模型的规范方法,以及细化演算的一些元素。对JML语 ...
分类:
其他好文 时间:
2020-05-22 21:38:10
阅读次数:
77
整合阿里云短信服务 帮助文档: https://help.aliyun.com/product/44282.html?spm=5176.10629532.0.0.38311cbeYzBm73 1、开通阿里云短信服务 2、添加签名管理与模板管理 (1)添加模板管理 选择 国内消息 模板管理 添加模板 ...
分类:
其他好文 时间:
2020-05-22 21:14:37
阅读次数:
77
1.hashmap ,初始长度为16 2.mysql行转列 初始,如下 要求查询之后结果如下 SQL语句: select xm, SUM(case kecheng when '语文' then fenshu else 0 end) as '语文', SUM(case kecheng when '数学 ...
分类:
其他好文 时间:
2020-05-22 19:26:35
阅读次数:
51
嵌套类型的基本概念就不讲了,需要了解概念的,传送门:https://www.cnblogs.com/just84/p/10936034.html 对于嵌套类型的字段,要使用ES专用的嵌套查询 嵌套字段举例: brandInfo:[ ? { ? "group": "xx", ? "category": ...
分类:
其他好文 时间:
2020-05-22 19:15:37
阅读次数:
107
因为用windows访问openSUSE使用的rdp,openSUSE不能登录,不然windows无法访问。但是openSUSE是自动登录的,需要取消掉 打开YaST->Security and Users->User and Group Management->Users标签页,右下角->Expe ...
分类:
其他好文 时间:
2020-05-22 17:13:38
阅读次数:
57
<template> <div class="about"> <h1>about page</h1> <el-row> <el-col :span="2"><div class="grid-content bg-purple">11</div></el-col> <el-col :span="22" ...
分类:
其他好文 时间:
2020-05-22 00:07:34
阅读次数:
49
一.请按要求对YGGL库建立相关索引 (1)使用create index 语句创建索引 1.对employees表中的员工部门号创建普通索引depart_ind. mysql> create index depart_ind -> on employees(员工编号); Query OK, 12 r ...
分类:
数据库 时间:
2020-05-21 23:56:10
阅读次数:
406
在网上看到一位网友写的实现代码如下: select * from student where s_id in ( select s_id from score t1 group by s_id having group_concat(c_id) = ( select group_concat(c_i ...
分类:
编程语言 时间:
2020-05-21 19:57:14
阅读次数:
172