[親測]Oracle查詢--子查詢,分頁查詢(二)

ORACLE查詢(子查詢,分頁查詢) 一、子查詢 (一)單行子查詢 ( 只返回一條記錄 ) 1 .查詢 2012 年 1 月用水量大於平均值的臺賬記錄 select * from t_account where usenum > (select avg(usenum) from t_account where year = '2012' and month = '01' ); 結果: (二)多
相關文章
相關標籤/搜索