[亲测]Oracle查询--子查询,分页查询(二)

ORACLE查询(子查询,分页查询) 一、子查询 (一)单行子查询 ( 只返回一条记录 ) 1 .查询 2012 年 1 月用水量大于平均值的台账记录 select * from t_account where usenum > (select avg(usenum) from t_account where year = '2012' and month = '01' ); 结果: (二)多
相关文章
相关标签/搜索