Skip to content

Instantly share code, notes, and snippets.

@paveljasek
Created May 6, 2021 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save paveljasek/2a8557215f49c53ed56e2b58ba409b6c to your computer and use it in GitHub Desktop.
Save paveljasek/2a8557215f49c53ed56e2b58ba409b6c to your computer and use it in GitHub Desktop.
SELECT date,
case when date = (select max(date) from `chrome-ux-report.materialized.metrics_summary`) then "Latest" else "Historical" end as latest,
origin,
slow_fcp,avg_fcp,fast_fcp,
slow_lcp,avg_lcp,fast_lcp,
small_cls,medium_cls,large_cls
FROM `chrome-ux-report.materialized.metrics_summary`
WHERE origin in (
"https://www.example.cz",
"https://www.example.de",
"https://www.example.fr",
"https://www.example.sk",
"https://www.example.hu")
and slow_fcp is not null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment