query (n.) Look up query at Dictionary.com
1530s, quaere "a question," from Latin quaere "ask," imperative of quaerere "to seek, look for; strive, endeavor, strive to gain; ask, require, demand;" figuratively "seek mentally, seek to learn, make inquiry," probably ultimately from PIE *kwo-, root forming the stem of relative and interrogative pronouns (see who). Spelling Englished or altered c. 1600 by influence of inquiry.
query (v.) Look up query at Dictionary.com
"to question," 1650s, from query (n.). Related: Queried; querying.