0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

BIG QUERY におけるSQL文の基礎

0
Posted at

BIG QUERY におけるSQL文

基本

SELECT * FROM "$TABLE"

TABLEから全てのデータを取り出す。

条件付き

SELECT * FROM "TABLE" WHERE COLUMN_NAME="hoge"

TABLEの[COLUMN_NAME]という名前のカラムがhogeとなるデータのみを取り出す。

ソートする

SELECT * FROM "TABLE" order by COLUMN_NAME

[COLUMN_NAME]という名前のカラムの中身の数値順にソートしてデータを取得する

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?