turbot/formula1

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_standings
join constructors on constructor_standings.constructorId = constructors.constructorId
group by
constructor_standings.constructorId
order by
"wins" desc;

Dashboards

The query is used in the dashboards: