Skip to Content
Learning Google BigQuery
book

Learning Google BigQuery

by Thirukkumaran Haridass, Eric Brown
December 2017
Beginner to intermediate
264 pages
5h 38m
English
Packt Publishing
Content preview from Learning Google BigQuery

Arithmetic Operators

To execute the queries shown in the chapter open the BigQuery Console from the main menu as shown in the screenshot below. Click on the Compose Query button in the BigQuery Console to type the queries and execute it. More details about the BigQuery Console is explained in the beginning of the next chapter.

The following are the arithmetic operators that are available for use in queries in both standard and legacy SQL. The + operator adds two numbers and returns the output. Type the query below in the query editor and press Run Query button to see the output.

SELECT 1 + 2

The screenshot below shows the output of the query ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Google BigQuery: The Definitive Guide

Google BigQuery: The Definitive Guide

Valliappa Lakshmanan, Jordan Tigani
Google BigQuery Analytics

Google BigQuery Analytics

Siddartha Naidu, Jordan Tigani

Publisher Resources

ISBN: 9781787288591Supplemental Content