ORACLE 统计文件后缀SQL
ORACLE 统计文件后缀SQL查询语句
select lower(substr(file_name,instr(file_name, '.', -1),length(file_name))),count(*) from brofwk_attachment where instr(file_name,'.') >0 group by lower(substr(file_name,instr(file_name, '.', -1),length(file_name)));