Skip to content

Instantly share code, notes, and snippets.

@romain9292
Created January 25, 2021 16:43
Show Gist options
  • Save romain9292/4f3dd248b955e2f4788c681adbf4da4d to your computer and use it in GitHub Desktop.
Save romain9292/4f3dd248b955e2f4788c681adbf4da4d to your computer and use it in GitHub Desktop.
[Leverage the power of variables in BigQuery using SQL - Part 1] Defining a single value #SQL #BigQuery
SELECT
fullVisitorId,
totals.transactions
FROM
`bigquery-public-data.google_analytics_sample.ga_sessions_20170801`
WHERE totals.transactions IS NOT NULL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment