First submited of query function for exchange rate.