摘要: count(*):有多少行,对行做统计 count(x):列.... sum:和 avg:平均值 min:求最小值 max:求最大值 distinct:取出重复的值 count:计数 group by:分组 department_id:部门编号 having:对分组进行筛选 table:表 null 阅读全文
posted @ 2017-07-30 15:24 麻包缝裤衩 阅读(107) 评论(0) 推荐(0)
摘要: salary:工资 order by:排序 desc:降序 hire:雇佣 单行函数 一周有七天 一月不一定只有30天 trunc:截取 dual:空表 last:最后 month:月份 round:四舍五入法 substr:字符串截取 length:字符串长度 replace:字符串内容替换 up 阅读全文
posted @ 2017-07-30 15:23 麻包缝裤衩 阅读(124) 评论(0) 推荐(0)