formula1_average_attendance_per_gameformula1_circuit_location_distributionformula1_costructors_countformula1_driver_efficiency_ratingformula1_driver_nationality_distributionformula1_drivers_countformula1_points_per_race_by_teamformula1_race_attendanceformula1_race_average_speedformula1_race_fastest_lapformula1_race_inputformula1_race_overviewformula1_race_scores_over_timeformula1_race_team_points_distributionformula1_race_winnerformula1_races_countformula1_seasons_countformula1_team_standings_by_conferenceformula1_top_scorers_of_seasontop_10_formula1_race_constructor_standingstop_10_formula1_race_driver_standingstop_10_formula1_race_results
Query: formula1_team_standings_by_conference
Usage
powerpipe query formula1.query.formula1_team_standings_by_conference
SQL
select constructors.name as "team", count(case when position = 1 then 1 end) as "wins", count(case when position > 1 then 1 end) as "losses"from constructor_standingsjoin constructors on constructor_standings.constructorId = constructors.constructorIdgroup by constructor_standings.constructorIdorder by "wins" desc;
Dashboards
The query is used in the dashboards: