A SQL query is a structured query put up to the database by the application to retrieve a set of information that is relevant for its usage.
If you are interested in learning the query language, then I would suggest you take up the SQL online course from Intellipaat which is co-created with Microsoft.
Take a Look at our video on the SQL tutorial for beginners.