oracle 中 select 多字段 ,但是只group by 其中某些字段

日期:2020-01-05 19:43:54 人气:1

oracle 中 select 多字段 ,但是只group by 其中某些字段

1、创建测试表, create table exp_report_accounts(account_id varchar2(20), responsibility_cent_id varchar2(20), period_name varchar2(20)); 2、插入测试数据 insert into exp_report_accounts values(1001, 9001, 20130502); insert into exp_report_accounts values(1002, 9001, 2
    A+
热门评论