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

Full Outer join

This returns all rows from both left and right tables, regardless of the condition. For rows where the condition is not met, null values will be returned for condition columns. The following query will return all the records from both the tables, but will have null values for rows that don't match on the joined columns:

#legacySQLSELECT repos.repo_name,repos.watch_count,repocommits.author.name,repocommits.committer.nameFROM [bigquery-public-data:github_repos.sample_repos] reposFULL OUTER JOIN EACH [bigquery-public-data:github_repos.sample_commits] repocommitsON repos.repo_name = repocommits.repo_nameORDER BY repos.repo_name
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