query vs request

query

verb
  • To ask, inquire. 

  • To ask a question. 

  • To send a private message to (a user on IRC). 

  • To send out a query letter. 

  • To pass a set of instructions to a database to retrieve information from it. 

  • To question or call into doubt. 

noun
  • A question mark. 

  • A question, an inquiry (US), an enquiry (UK). 

  • A set of instructions passed to a database. 

request

verb
  • To ask for (something). 

  • To ask (somebody) to do something. 

noun
  • A message sent over a network to a server. 

  • Act of requesting (with the adposition at in the presence of possessives, and on in their absence). 

  • Condition of being sought after. 

  • A formal message requesting something. 

How often have the words query and request occurred in a corpus of books? (source: Google Ngram Viewer )