摘要: System.out.println("返回参数的绝对值:" + Math.abs(-9)); //9 //ceil天花板的意思,就是返回大的值,注意一些特殊值 System.out.println("对整形变量向上取整,返回类型为double型:" + Math.ceil(-8.7)); //-8 阅读全文
posted @ 2018-01-18 16:48 高木子 阅读(441) 评论(0) 推荐(0) 编辑
摘要: distinct : 去重复 MySQL : ①IFNULL(字段,0) :作用是 值为 NULL 则 ISNULL() 返回 0。 COALESCE(字段,0)与IFNULL(字段,0)用法一致。 group by 必须放在 order by 和 limit之前。 oracle : ①nvl(字段 阅读全文
posted @ 2018-01-18 14:52 高木子 阅读(1223) 评论(0) 推荐(0) 编辑