Other forms: queries
A query is a request asking a database for particular records. Run a query, a slow query, write the query.
It is a question put in a form the machine can answer, and the language for writing one is usually SQL. A badly written query on a large table can take minutes where a good one takes milliseconds, which is most of what database tuning is about.
1nounqueryA request asking a database for particular records.
“Write a query that returns every customer who has not ordered anything this year.”
query is a request.
An anglicisation of Latin quaere, ask, the imperative of quaerere, to seek. Question and inquire are relatives.
Latin
quaere
English, today
query
Built from
An anglicisation of quere, an obsolete variant form of Latin quaere, second-person singular present active imperative of quaerō (“seek, look for; ask”); perhaps suffixed with -y (“abstract noun”). Cognate with French quérir, Italian chiedere, Portuguese querer, Romanian cere, and Spanish querer. Compare question.
Etymology from Wiktionary, CC BY-SA