SELECT t2.file_type as sstat_bill_type ,t2.file_number as sstat_bill_number ,t2.final_type as final_type ,t2.final_number as final_number ,t2.description as sstat_desc ,TO_CHAR(t2.action_date, 'MM/DD/YYYY') as sstat_action_date ,(SELECT SENATE_AUTHOR_VIEW.member_name FROM revisor.SENATE_AUTHOR_VIEW WHERE SENATE_AUTHOR_VIEW.session_type = '0' and SENATE_AUTHOR_VIEW.session_number = '90' and SENATE_AUTHOR_VIEW.file_type = t2.file_type and SENATE_AUTHOR_VIEW.file_number = t2.file_number and SENATE_AUTHOR_VIEW.author_number = '1' and SENATE_AUTHOR_VIEW.author_number = '1') as sstat_chief_author ,(select case when t1.action_text in('See','See also') then t1.action_text||' '|| t1.action_description || ' '||TO_CHAR(t1.action_date, 'MM/DD/YYYY') else '' end FROM SENATE_ACTION_VIEW t1 WHERE t1.session_type = '0' and t1.session_number = '90' and t1.file_type = t2.file_type and t1.file_number = t2.file_number and t1.action_number =(select max(t3.action_number) from SENATE_ACTION_VIEW t3 where t3.session_type = '0' and t3.session_number = '90' and t3.file_type = t2.file_type and t3.file_number = t2.file_number )) as sstat_last_action FROM revisor.SENATE_ACTION_VIEW t2 WHERE t2.session_type = '0' and t2.session_number = '90' and t2.file_type IN ('SF', 'HF') and t2.committee_id = '3100' and t2.action_text Not LIKE 'Withdrawn %' ORDER BY t2.file_type DESC, t2.file_number, t2.action_number
Fatal error: ORA-01031: insufficient privileges in /var/www/html/include_php/DB_Connection.inc.php on line 101