added query to list the ordno and aid of all orders