Created
April 29, 2024 02:02
-
-
Save lfy79001/cae82e06691667559ca225f7f4b55a65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
(SELECT value.string_value FROM UNNEST(event_params) WHERE key = 'board') AS board_type, | |
AVG((SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'value')) AS avg_score | |
FROM `firebase-public-project.analytics_153293282.events_20180915` | |
WHERE event_name = "level_complete_quickplay" | |
GROUP BY board_type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment