what is a query in sql
A query is a request for data or information from a database. There are two main types of SQL queries: 1. A select query is a query that groups data from a table for analytical purposes 2. An action query is a query that changes the contents of the database based on specified criteria