hmu.ai
Back to Developer Dictionary
Developer Dictionary

Query

Definition

A request for information from a database.

Deep Dive

In computing, a query is a request for information from a database or a data source. It is the primary means by which users or applications interact with databases to retrieve specific data, manipulate existing data, or define new data structures. Queries are typically written in a specialized language, most commonly Structured Query Language (SQL) for relational databases, or various domain-specific languages for NoSQL databases. The precision of a query dictates the accuracy and relevance of the information returned.

Examples & Use Cases

  • 1Retrieving all customer names and email addresses from a `customers` database table
  • 2Updating the price of a specific product in an `inventory` database using a conditional query.

Related Terms

DatabaseSQLData Retrieval

Part of the hmu.ai extensive business and technology library.