Query editor
WITHevent_metrics AS (SELECTDATE_TRUNC('year', TRY_CAST(start_time AS TIMESTAMP)) as year,TRY_CAST(solo_projects AS INTEGER) as solo_count,TRY_CAST(team_projects AS INTEGER) as team_count,TRY_CAST(average_team_size AS DOUBLE) as avg_team_sizeFROMdune.jacobourar.dataset_team_sizes_by_event)SELECTyear,COUNT(*) as total_events,SUM(solo_count) as total_solo_projects,SUM(team_count) as total_team_projects,ROUND(100.0 * SUM(solo_count) / (SUM(solo_count) + SUM(team_count)),2) as solo_percentageFROMevent_metricsGROUP BYyearORDER BYyear;