This document introduces SQL concepts for BigQuery and Cloud SQL, including distinguishing databases, tables, and projects; using SELECT, FROM, and WHERE to construct queries; loading and querying data; and using keywords like COUNT, GROUP BY, AS, and ORDER BY to analyze data and export query results to Cloud Storage and load into Cloud SQL tables for further querying.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
110 views
Introduction BigQuery and Cloud SQL
This document introduces SQL concepts for BigQuery and Cloud SQL, including distinguishing databases, tables, and projects; using SELECT, FROM, and WHERE to construct queries; loading and querying data; and using keywords like COUNT, GROUP BY, AS, and ORDER BY to analyze data and export query results to Cloud Storage and load into Cloud SQL tables for further querying.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
Introduction to SQL for BigQuery and Cloud
SQL In this lab, you will learn how to:
Distinguish databases from tables and projects.
Use the SELECT, FROM, and WHERE keywords to construct simple queries. Identify the different components and hierarchies within the BigQuery console. Load databases and tables into BigQuery. Execute simple queries on tables. Learn about the COUNT, GROUP BY, AS, and ORDER BY keywords. Execute and chain the above commands to pull meaningful data from datasets. Export a subset of data into a CSV file and store that file into a new Cloud Storage bucket. Create a new Cloud SQL instance and load your exported CSV file as a new table. Run CREATE DATABASE, CREATE TABLE, DELETE, INSERT INTO, and UNION queries in Cloud SQL.
Task 1. The basics of SQL
in BigQuery, projects contain datasets, and datasets contain tables