-- Database schema
| awards_players : playerID [ TEXT ] awards_players.playerID = players.playerID , award [ TEXT ] , year [ INTEGER ] , lgID [ TEXT ] , note [ TEXT ] , pos [ TEXT ] | coaches : coachID [ TEXT ] , year [ INTEGER ] coaches.year = teams.year , tmID [ TEXT ] coaches.tmID = teams.tmID , lgID [ TEXT ] , stint [ INTEGER ] , won [ INTEGER ] , lost [ INTEGER ] , post_wins [ INTEGER ] , post_losses [ INTEGER ] | draft : id [ INTEGER ] primary_key , draftYear [ INTEGER ] draft.draftYear = teams.year , draftRound [ INTEGER ] , draftSelection [ INTEGER ] , draftOverall [ INTEGER ] , tmID [ TEXT ] draft.tmID = teams.tmID , firstName [ TEXT ] , lastName [ TEXT ] , suffixName [ TEXT ] , playerID [ TEXT ] , draftFrom [ TEXT ] , lgID [ TEXT ] | player_allstar : playerID [ TEXT ] player_allstar.playerID = players.playerID , last_name [ TEXT ] , first_name [ TEXT ] , season_id [ INTEGER ] , conference [ TEXT ] , league_id [ TEXT ] , games_played [ INTEGER ] , minutes [ INTEGER ] , points [ INTEGER ] , o_rebounds [ INTEGER ] , d_rebounds [ INTEGER ] , rebounds [ INTEGER ] , assists [ INTEGER ] , steals [ INTEGER ] , blocks [ INTEGER ] , turnovers [ INTEGER ] , personal_fouls [ INTEGER ] , fg_attempted [ INTEGER ] , fg_made [ INTEGER ] , ft_attempted [ INTEGER ] , ft_made [ INTEGER ] , three_attempted [ INTEGER ] , three_made [ INTEGER ] | players : playerID [ TEXT ] primary_key , useFirst [ TEXT ] , firstName [ TEXT ] , middleName [ TEXT ] , lastName [ TEXT ] , nameGiven [ TEXT ] , fullGivenName [ TEXT ] , nameSuffix [ TEXT ] , nameNick [ TEXT ] , pos [ TEXT ] , firstseason [ INTEGER ] , lastseason [ INTEGER ] , height [ REAL ] , weight [ INTEGER ] , college [ TEXT ] , collegeOther [ TEXT ] , birthDate [ DATE ] , birthCity [ TEXT ] , birthState [ TEXT ] , birthCountry [ TEXT ] , highSchool [ TEXT ] , hsCity [ TEXT ] , hsState [ TEXT ] , hsCountry [ TEXT ] , deathDate [ DATE ] , race [ TEXT ] | teams : year [ INTEGER ] , lgID [ TEXT ] , tmID [ TEXT ] , franchID [ TEXT ] , confID [ TEXT ] , divID [ TEXT ] , rank [ INTEGER ] , confRank [ INTEGER ] , playoff [ TEXT ] , name [ TEXT ] , o_fgm [ INTEGER ] , o_ftm [ INTEGER ] , o_pts [ INTEGER ] , d_pts [ INTEGER ] , homeWon [ INTEGER ] , homeLost [ INTEGER ] , awayWon [ INTEGER ] , awayLost [ INTEGER ] , won [ INTEGER ] , lost [ INTEGER ] , games [ INTEGER ] , arena [ TEXT ] | awards_coaches : id [ INTEGER ] primary_key , year [ INTEGER ] awards_coaches.year = coaches.year , coachID [ TEXT ] awards_coaches.coachID = coaches.coachID , award [ TEXT ] , lgID [ TEXT ] , note [ TEXT ] | players_teams : id [ INTEGER ] primary_key , playerID [ TEXT ] , year [ INTEGER ] players_teams.year = teams.year , stint [ INTEGER ] , tmID [ TEXT ] players_teams.tmID = teams.tmID , lgID [ TEXT ] , GP [ INTEGER ] , GS [ INTEGER ] , minutes [ INTEGER ] , points [ INTEGER ] , oRebounds [ INTEGER ] , dRebounds [ INTEGER ] , rebounds [ INTEGER ] , assists [ INTEGER ] , steals [ INTEGER ] , blocks [ INTEGER ] , turnovers [ INTEGER ] , PF [ INTEGER ] , fgAttempted [ INTEGER ] , fgMade [ INTEGER ] , ftAttempted [ INTEGER ] , ftMade [ INTEGER ] , threeAttempted [ INTEGER ] , threeMade [ INTEGER ] , PostGP [ INTEGER ] , PostGS [ INTEGER ] , PostMinutes [ INTEGER ] , PostPoints [ INTEGER ] , PostoRebounds [ INTEGER ] , PostdRebounds [ INTEGER ] , PostRebounds [ INTEGER ] , PostAssists [ INTEGER ] , PostSteals [ INTEGER ] , PostBlocks [ INTEGER ] , PostTurnovers [ INTEGER ] , PostPF [ INTEGER ] , PostfgAttempted [ INTEGER ] , PostfgMade [ INTEGER ] , PostftAttempted [ INTEGER ] , PostftMade [ INTEGER ] , PostthreeAttempted [ INTEGER ] , PostthreeMade [ INTEGER ] , note [ TEXT ] | series_post : id [ INTEGER ] primary_key , year [ INTEGER ] series_post.year = teams.year , round [ TEXT ] , series [ TEXT ] , tmIDWinner [ TEXT ] series_post.tmIDWinner = teams.tmID , lgIDWinner [ TEXT ] , tmIDLoser [ TEXT ] series_post.tmIDLoser = teams.tmID , lgIDLoser [ TEXT ] , W [ INTEGER ] , L [ INTEGER ] |
-- -- Name the team in which the coach won the title 'NBA Coach of the Year' in 2010.

SELECT DISTINCT T1.tmID FROM coaches AS T1 INNER JOIN awards_coaches AS T2 ON T1.coachID = T2.coachID WHERE T2.year = 2010 AND T2.award = 'NBA Coach of the Year';