what is a sql query?

SQL stands for structured query language.  A SQL query is a statement using SQL syntax to get data returned for a specific question to business data you are trying to get answered.  SQL queries can be simple returns of data, and they can also include simple or complex aggregations over time.  SQL queries run against a database like Oracle Database, Azure's SQL Server Database, or Google's Bigquery.