Query
A query to a database for reading or modifying data. In relational databases, it is written in SQL.
Example
SELECT title, price FROM products WHERE id = 1630;
Why in Automation
- To retrieve data for processing;
- To update records in bulk;
- To check that changes have been applied.
Nuance
An incorrect query (especially an UPDATE without a condition) can affect the entire table. Therefore, before performing bulk operations, one should study the schema and test on a small volume.