Skip to content

Commit 220d0b8

Browse files
committed
switch the columns for a chart
1 parent 8c4e816 commit 220d0b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/2025/privacy/fingerprinting_top.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ GROUP BY client, technology.technology
2424
|> DROP websites_total
2525
|> PIVOT(
2626
ANY_VALUE(websites_count) AS websites_count,
27-
ANY_VALUE(websites_pct) AS pct
27+
ANY_VALUE(websites_pct) AS websites_pct
2828
FOR client IN ('desktop', 'mobile')
2929
)
30-
|> RENAME websites_count_mobile AS mobile, websites_count_desktop AS desktop
31-
|> ORDER BY mobile + desktop DESC
30+
|> RENAME websites_pct_mobile AS mobile, websites_pct_desktop AS desktop
31+
|> ORDER BY websites_count_mobile + websites_count_desktop DESC

0 commit comments

Comments
 (0)