LoginSignup
0
0

BigQueryで過去の状態のテーブルを参照するクエリ

Posted at
SELECT
  *
FROM
  `テーブルパス` FOR SYSTEM_TIME AS OF 
    TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 6 DAY)

INTERVAL 6 DAY6 を所望の日にすることで遡る日を指定可能

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