turbot/nba

Query: nba_team_overview

Usage

powerpipe query nba.query.nba_team_overview

SQL

select
full_name as 'Team Name',
city as 'City',
state as 'State',
nickname as 'Nickname',
count(*) as 'Number of Players'
from
team as t
join common_player_info as cpi on t.id = cpi.team_id
where
id = $1;

Dashboards

The query is used in the dashboards: