Article Outline
γπ SQLγγγΌγγ«η’Ίθͺ
TOC
Collection Outline
|| γγΌγγ«η’ΊθͺοΌε ¨δ½οΌ
select
*
from 'my_pj.my_ds.yellow_taxi_2015'
;
vendor_id | pickup_datetime | dropoff_datetime | passenger_count | payment_type | trip_distance | pickup_longitude | pickup_latitude | rate_code | store_and_fwd_flag | |
---|---|---|---|---|---|---|---|---|---|---|
CMT | 2015-12-02T18:40:42Z | 2015-12-02T18:55:58Z | 1 | 1 | 2.0 | -73.984215 | 40.77003 | 1.0 | 0.0 | -73.9625 |
|| γγΌγγ«η’ΊθͺοΌγ¬γ³γΌγζ°οΌ
select
count(*) as record
from 'my_pj.my_ds.yellow_taxi_2015'
;
record | |
---|---|
1 | 146,112,991 |
|| γγΌγγ«η’ΊθͺοΌγ«γ©γ οΌ
select
table_name,
column_name,
data_type
from `my_pj.my_ds.INFORMATION_SCHEMA.COLUMNS`
where table_name="yellow_taxi_2015"
;
table_name | column_name | data_type | |
---|---|---|---|
1 | yellow_taxi_2015 | vendor_id | STRING |
2 | yellow_taxi_2015 | pickup_datetime | TIMESTAMP |
3 | yellow_taxi_2015 | dropoff_datetime | TIMESTAMP |