query (v.) Look up query at Dictionary.com
1530s, quaere, from Latin quaere "ask," imperative of quaerere "to seek, gain, ask," probably ultimately from PIE *kwo-, root forming the stem of relative and interrogative pronouns. Spelling altered c.1600 by influence of inquiry. Related: Queried; querying.
query (n.) Look up query at Dictionary.com
"a question," 1630s, from query (v.).