Added SQL statements to MaintRequestController