Definition A request for specific data from a database, usually written in SQL.
Example A team asks how many orders appear in its database rather than reading each record manually.
See how it works SELECT COUNT (*) AS order_count
FROM sales_orders;Returns one number named order_count.
Check your understanding Common mistake: A query result depends on the data, filters, joins and permissions used; it is not automatically the agreed business metric.
What would COUNT(*) count in this example?
Show explanation The number of rows in the sales_orders table, not necessarily unique customers or completed orders.
For your role Your role Choose your role Accounts payable Credit controllers FP&A analysts Finance business partners Finance directors and CFOs Financial controllers Management accountants Payroll specialists Account executives Sales managers Sales operations analysts Sales representatives Bid and tender managers Commercial directors New to business Pricing analysts Revenue managers Senior leaders Campaign managers Communications managers Customer insight analysts Digital marketing managers Marketing analysts Marketing directors HR business partners HR directors Learning and development managers People analysts People managers Recruiters Operations analysts Operations directors Operations managers AI product managers Heads of product Product analysts Product managers Product owners Machine learning engineers Analytics engineers Data analysts Data architects Data engineers Data governance leads Data privacy officers Data scientists Information architects Platform engineers Report builders Business analysts Corporate development managers Heads of strategy Strategy analysts
Choose your role to see what this term means in your work.
Why it matters Queries are how people get exactly the data they need.
Where it is used Databases, BI tools and data requests.