About 1,594,837 results (4,840 milliseconds)

Query syntax | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax
Common table expressions (CTEs) in a WITH Clause act like temporary tables that you can reference anywhere in the FROM clause. In the example below, subQ1 and ...

Data types | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types
Comparison operators provide standard IEEE-754 behavior for floating point input. Comparison operator examples. Left Term, Operator, Right Term, Returns. NaN ...

String functions | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions
The following examples reference a table called Recipes that you can emulate ... SELECT STRPOS('[email protected]', '@') AS example ...

Data manipulation language (DML) statements in GoogleSQL ...

https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax
For an example, see UPDATE using joins. Caveats: The SET clause can reference columns from a target table and columns from any FROM item in the FROM ...

Aggregate functions | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/aggregate_functions
Reference. Was this helpful? Send feedback. Aggregate functions ... Computes the sample (unbiased) standard deviation of the values. For more ...

Window function calls | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/window-function-calls
The following tables are used in the subsequent aggregate analytic query examples: Produce , Employees , and Farm . Produce table. Some examples reference a ...

Data definition language (DDL) statements in GoogleSQL ...

https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
... reference. Primary keys and foreign keys. In typical ... The following example creates a temporary table named Example and inserts values into it.

Introduction to SQL in BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/introduction-sql
Reference · Samples · Resources · Technology areas. More. Cross ... For example, features such as DDL and DML statements are only supported using GoogleSQL.

Procedural language | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language
You can reference system variables in queries. Examples. The following example initializes the variable x as an INT64 with the value NULL . See more code ...

Datetime functions | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/datetime_functions
Reference. Was this helpful? Send feedback. Datetime functions ... For example, DATETIME_DIFF(TIMESTAMP, TIMESTAMP, PART) behaves like ...

Geography functions | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/geography_functions
For example, if the input contains both GEOGRAPHY s with lines and GEOGRAPHY ... The statistics include the count, minimum, maximum, sum, standard ...

Lexical structure and syntax | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical
Reference. Was this helpful? Send feedback. Lexical structure and syntax ... For example, rb'abc*' and rB'abc*' and br'abc*' are all equivalent. See the ...

Migrating to GoogleSQL | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql
For more information about the GoogleSQL type system, see the GoogleSQL data types reference. ... In standard SQL, as in the example above, JavaScript functions ...

Functions (alphabetical) | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-all
Reference. Was this helpful? Send feedback. Functions (alphabetical) ... Computes the sample (unbiased) standard deviation of the values. STRING ...

Format elements | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/format-elements
Reference. Was this helpful? Send feedback. Format elements ... For example, you could instruct a cast to convert a sequence of bytes to a ...

Date functions | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/date_functions
Reference. Was this helpful? Send feedback. Date functions ... For example, the function arguments ('%g %J', '8405') return a value with ...

Timestamp functions | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/timestamp_functions
Reference. Was this helpful? Send feedback. Timestamp functions ... For example, the function arguments ('%g %J', '8405') return a value with ...

Navigation functions | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/navigation_functions
Reference. Was this helpful? Send feedback. Navigation functions ... The following example computes the fastest time for each division. See more ...

Conditional expressions | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/conditional_expressions
Reference. Was this helpful? Send feedback. Conditional expressions ... Supertype of result [, ...] and else_result . Example. See more code actions ...

Conversion functions | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/conversion_functions
For example, you could instruct a cast to convert a sequence of bytes to a BASE64-encoded string instead of a UTF-8-encoded string. The structure of the format ...