找出180天內新增Form的使用次數,記錄一下SQL:
select ffv.form_id,
to_char(ffv.creation_date,'yyyy/mm/dd') "建檔日",
to_char(ffv.last_update_date,'yyyy/mm/dd') "最後修改日",
ffv.form_name,
ffv.user_form_name,
count(1) "次數"
from FND_LOGIN_RESP_FORMS flrf,
fnd_form_vl ffv
where flrf.form_id=ffv.form_id
and ( ffv.creation_date >= (sysdate -180) or FFV.LAST_UPDATE_DATE >= (sysdate-180))
group by ffv.form_id,ffv.creation_date,ffv.last_update_date ,ffv.form_name,ffv.user_form_name
order by count(1),form_name;