hi i want monthly basis records please help me on this
select gs.SET_OF_BOOKS_ID || NAME "SET_OF_BOOKS"
,ah.invoice_num "EXPENSE REPORT"
,arp.LAST_UPDATE_DATE "SUMBIT DATE"
,ah.description "REPORT_DESCRIPTION"
,arp.prompt "DESCRIPTION"
,ah.expense_status_code
,al.amount "TOTAL"
from ap_expense_report_headers_all ah
,ap_expense_report_lines_all al
,ap_expense_report_params_all arp
--,ap_expense_reports_all ar
,per_all_people_f pf
,gl_sets_of_books gs
,ap_invoices_all ai
,ap_invoice_payments_all aip
,ap_checks_all ac
where ah.employee_id = pf.person_id
and ah.report_header_id = al.report_header_id
and al.web_parameter_id = arp.parameter_id