网站建设计入哪个科目,电商网站建设哪好,电商要怎么做起来,网络营销推广公司名字【功能】统计数据表选中行x列的最大值。 【参数】all表示对所有的值求最大值,distinct只对不同的值求最大值#xff0c;默认为all 如果有参数distinct或all#xff0c;需有空格与x(列)隔开。 【参数】x#xff0c;可为数字、字符或日期型字段 【返回】对应x字段类型 注…【功能】统计数据表选中行x列的最大值。 【参数】all表示对所有的值求最大值,distinct只对不同的值求最大值默认为all 如果有参数distinct或all需有空格与x(列)隔开。 【参数】x可为数字、字符或日期型字段 【返回】对应x字段类型 注字符型字段将忽略空值(NULL) 【示例】 环境 create table table3(xm varchar(8),sal number(7,2)); insert into table3 values(gao,1111.11); insert into table3 values(gao,1111.11); insert into table3 values(zhu,5555.55); insert into table3 values(,1111.11); insert into table3 values(zhu,0); commit; 执行统计 select MIN(distinct sal),MIN(xm),MIN(distinct xm),MIN(all xm) from table3; 结果0 gao gao gao转载于:https://www.cnblogs.com/fanweisheng/p/11119560.html