进入scott账号, 先看看emp表的数据: 执行如下语句: select sum(comm),count(*),avg(comm) from emp; 执行结果如下: 原始表中有14条数据,结果看见avg(comm)只对非NULL的数据进行平均操作,那是因为oracle的组函数不会将null的数据 ...
分类:
数据库 时间:
2021-06-04 19:21:22
阅读次数:
0
/* 一、比较容易理解的方法 分别把两条链走完,计算两条链的长度,差值就是一条链比另外一条链的长的长度; 然后将将较长的链先走到剩下的和另一条一样长时,两条链开始同步一起走,相等处即为相交的起点,若走到空没有,则说明没有交点。 二、用哈希表存存储一条链 遍历另一条链,在哈希表中找到的第一个结点即为交 ...
分类:
编程语言 时间:
2021-06-04 19:20:50
阅读次数:
0
作用:显式声明单参构造函数,C++构造函数默认是隐式(implicit)的, 用explicit声明单参构造函数的好处是避免歧义,让构造函数不能隐式调用。 当构造函数没有用explicit声明时,Array a(5); Array b = 6;都能够调用构造函数,前者是显式调用,后者是隐式调用。 当 ...
分类:
编程语言 时间:
2021-06-04 19:01:20
阅读次数:
0
abstract class Geom { getType() { return "Gemo"; } width: number; abstract getArea(): number; // 抽象方法 } class Circle extends Geom { getArea() { return ...
分类:
其他好文 时间:
2021-06-04 19:00:51
阅读次数:
0
0: lambda x:x*3 lambad x,y=3:x*y 1:def findodd(x): if x%2 == 0 return None else: return x 2:几乎不用 3:a=list[filter((lambda x:not(x%3)),range(1,100))] 4: ...
分类:
其他好文 时间:
2021-06-04 18:55:40
阅读次数:
0
创建表:create table people( id int primary key auto_increment not null, name varchar(10) not null, age int default 18); 创建学生表: create table students(id i ...
分类:
数据库 时间:
2021-06-04 18:53:42
阅读次数:
0
USE [dbo].[MySchool] GO IF COL_LENGTH('Student','Score') IS NULL BEGIN ALTER TABLE Student ADD Score DOUBLE END GO COL_LENGTH判断表中是否含有列,比如此处判断Student表中 ...
分类:
数据库 时间:
2021-06-03 18:27:49
阅读次数:
0
kettle报错:Unexpected problem reading shared objects from XML file:null https://blog.csdn.net/qq_41084324/article/details/87297183 错误明细: Unexpected prob ...
分类:
其他好文 时间:
2021-06-03 18:20:28
阅读次数:
0
public static void main(String[] args) { FileOutputStream fos = null; BufferedInputStream bis = null; HttpURLConnection httpUrl = null; int size = 0; ...
分类:
编程语言 时间:
2021-06-03 18:04:25
阅读次数:
0
通过某一个值排序输出 if (json.Entity[0].Attributes.find(f => f.Key == "ssss_confirmed_by") != undefined) { SDK.CrmRest.retrieveMultipleRecords("SystemUser", "?$ ...
分类:
编程语言 时间:
2021-06-03 17:59:51
阅读次数:
0