update sql query that will use to display select boxes on create reports page