Definition
A request for data from a database or API. In SQL, a query is written in a SELECT statement; in GraphQL, a query is the operation that fetches data.
Example Usage
"The slow query was doing a full table scan on 10 million rows — adding an index on the 'created_at' column cut execution time from 4s to 12ms."