From ce7d4c396d81df6ab5c41be5e63ef8962bebe81e Mon Sep 17 00:00:00 2001 From: Azeem Shaikh Date: Tue, 10 Aug 2021 17:56:39 -0700 Subject: [PATCH] Update BQ query in README.md (#831) Co-authored-by: Azeem Shaikh --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cb7d24d6..32b40ae2 100644 --- a/README.md +++ b/README.md @@ -292,7 +292,8 @@ the [`bq`](https://cloud.google.com/bigquery/docs/bq-command-line-tool) tool: ``` # Get the latest PARTITION_ID bq query --nouse_legacy_sql 'SELECT partition_id FROM -openssf.scorecardcron.INFORMATION_SCHEMA.PARTITIONS ORDER BY partition_id DESC +openssf.scorecardcron.INFORMATION_SCHEMA.PARTITIONS WHERE table_name="scorecard" +ORDER BY partition_id DESC LIMIT 1' # Extract to GCS