- Learning Google BigQuery
- Thirukkumaran Haridass Eric Brown
- 220字
- 2021-07-02 21:23:59
Running your first query
Now that the data is imported to the table, it is time to write a basic query to examine the data in it:
- Click on the table under the dataset, and then click on the Query Table option on the right. Type the query shown in the following screenshot.
- Click on the validator icon to see how many bytes of data from the table will be used to execute this query. If you add more columns to the selected query, the number of bytes processed will increase, which in turn will increase your billing. BigQuery uses columnar storage and also stores the data in a compressed format. It is advised to add only those columns that are needed to the query.
BigQuery SQL is case insensitive except for the project name, dataset name, and table name used in the query. It is always good to follow a convention when naming your projects, datasets, tables, and columns. BigQuery web console also provides an autocomplete feature to help users type column names and tables names easily, similar to IntelliSense in Microsoft Visual Studio.

It is always better to open the validator and get an estimate of the amount of bytes to be processed for your query. This will help you keep an eye on the billing.
推薦閱讀
- Learning Microsoft Windows Server 2012 Dynamic Access Control
- JavaScript 網(wǎng)頁(yè)編程從入門(mén)到精通 (清華社"視頻大講堂"大系·網(wǎng)絡(luò)開(kāi)發(fā)視頻大講堂)
- MATLAB應(yīng)用與實(shí)驗(yàn)教程
- HTML5入門(mén)經(jīng)典
- Illustrator CS6設(shè)計(jì)與應(yīng)用任務(wù)教程
- Scala編程實(shí)戰(zhàn)
- 從Power BI到Analysis Services:企業(yè)級(jí)數(shù)據(jù)分析實(shí)戰(zhàn)
- Delphi開(kāi)發(fā)典型模塊大全(修訂版)
- Machine Learning for OpenCV
- AutoCAD基礎(chǔ)教程
- ROS機(jī)器人編程實(shí)戰(zhàn)
- Python機(jī)器學(xué)習(xí)開(kāi)發(fā)實(shí)戰(zhàn)
- 計(jì)算機(jī)視覺(jué)增強(qiáng)現(xiàn)實(shí)應(yīng)用平臺(tái)開(kāi)發(fā)
- Mastering Docker(Second Edition)
- Node.js入門(mén)指南