google-big-queryHow do I create a view in Google Big Query?
Creating a view in Google Big Query is a simple process.
- First, create a query that produces the desired result.
SELECT *
FROM [publicdata:samples.wikipedia]
- Then, create a view with the query using the
CREATE VIEWstatement.
CREATE VIEW my_view AS
SELECT *
FROM [publicdata:samples.wikipedia]
- Finally, the view can be queried as if it were a table.
SELECT *
FROM my_view
Code explanation
CREATE VIEW- the statement used to create the viewmy_view- the name of the viewSELECT *- the query used to populate the viewFROM [publicdata:samples.wikipedia]- the source table
Helpful links
More of Google Big Query
- ¿Cuáles son las ventajas y desventajas de usar Google BigQuery?
- How do I use wildcards in Google BigQuery?
- How do I query Google BigQuery using XML?
- How do Google BigQuery and Azure Data Lake compare in terms of performance and cost?
- How do I set up permissions for Google BigQuery?
- How can I use Google Big Query to analyze Reddit data?
- How can I use Google BigQuery to access Wikipedia data?
- How do I rename a column in Google BigQuery?
- How do I find the Google BigQuery project ID?
- How can I use Google Big Query to analyze Ethereum data?
See more codes...