oracle語句,去重、五表聯查、統計數量。 Oracle高級查詢之over(partition by...)

select distinct b.FNAME_L2 ,c.FPERIODYEAR ,c.FPERIODNUMBER ,d.fname_l1 ,count(1) over(partition by b.FNAME_L2,d.fname_l1) 數量 from t_gl_voucherentry a1 ,t_gl_voucher a ,t_org_company b ,t_bd_period c ,
相關文章
相關標籤/搜索