摘要:语法及其应用: 查询部门创建时间最早的三条记录 select * from ( select * from dept t order by t.cdate ) where rowmun=2 and r1; 统计平均奖金大于2000 的各个职位的最高工资 select job,max(comm) from emp1 e group by e.job having avg(...
阅读全文
摘要:时间戳转化为Date(or String) SimpleDateFormat format = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss" ); Long time=new Long(445555555); String d = format.format
阅读全文