Query syntax | BigQuery | Google Cloud
Query statements scan one or more tables or expressions and return the computed result rows. This topic describes the syntax for SQL queries in BigQuery. Notation rules The following tables are used to illustrate the behavior of different query clauses in this reference. The Roster table includes a list of player names (LastName) and the unique ID assigned to their school (SchoolID). It looks like this: You can use this WITH clause to emulate a temporary table name for the examples in this reference: The PlayerStats table includes a list of player names (LastName) and the unique ID assigned to the opponent they played in a given game (OpponentID) and the number of points scored by the athlete in that game (PointsScored). You can use this WITH clause to emulate a temporary table name for the examples in this reference: The TeamMascot table includes a list of unique school IDs (SchoolID) and the mascot for that school (Mascot). You can use this WITH clause to emulate a temporary table na
Home Documentation Data analytics BigQuery Reference Send feedback Query syntax Stay organized with collections Save and categorize content based on your preferences. GoogleSQL is the new name for Google Standard SQL! New name, same great SQL dialect. Query statements scan one or more tables or expressions and return the computed result rows. This topic describes the syntax for SQL queries in GoogleSQL for BigQuery. SQL syntax notation rules The following table lists and describes the syntax notation rules that GoogleSQL documentation commonly uses. Notation Example Description Square brackets
Explore this link on the map →related reading
- Introduction to partitioned tables | BigQuery | Google Cloud Documentationcloud.google.com
- Against SQLscattered-thoughts.net
- SQL style guide by Simon Holywellsqlstyle.guide
- BigQuery overview | Google Cloud Documentationcloud.google.com
- Making sure you're not a bot!hal.science
- Queries | Isar Databaseisar.dev
- pthorpe92.devpthorpe92.dev
- SQL vs NoSQL in 8 Examples | Towards Data Sciencetowardsdatascience.com
- The key technologies behind SQL Comprehension | dbt Developer Blogdocs.getdbt.com
- Outerbase | The interface for your databaseouterbase.com
- Explaining The Postgres Memeavestura.dev
- The Three Levels of SQL Comprehension: What they are and why you need to know about them | dbt Developer Blogdocs.getdbt.com