| | A query is an inquiry into the database using the SELECT statement. A query is used to extract data from the database in a readable format according to the user 's request. For instance, if you have an employee table, you might issue a SQL statement that returns the employee who is paid the most. This request to the database for usable employee information is a typical query that can be performed in a relational database. |