select bx.qtr1, bx.qtr2, bx.qtr3, bx.qtr4, case when(bx.ot1_p = 0) then '' else convert(char, bx.ot1_p) end as ot1, case when(bx.ot2_p = 0) then '' else convert(char, bx.ot2_p) end as ot2, case when(bx.ot3_p = 0) then '' else convert(char, bx.ot3_p) end as ot3, case when(bx.ot4_p = 0) then '' else convert(char, bx.ot4_p) end as ot4, points as pts, minutes as mins, field_goals as fg, field_goals_attempted as fga, (field_goal_percentage * 100) as fgp, three_pointers as tp, three_pointers_attempted as tpa, (three_point_percentage * 100) as tpp, free_throws as ft, free_throws_attempted as fta, (free_throw_percentage * 100) as ftp, offensive_rebounds as oreb, defensive_rebounds as dreb, total_rebounds as treb, assists as ast, personal_fouls as pf, steals as stl, turnovers as tov, team_turnovers as tmtov, total_turnovers as tottov, blocked_shots as blk, lead_changes as lchg, ties as ties, team_rebounds as tmreb, fast_break_points as fbpts, largest_lead as llead, unanswered_points as uapts, points_in_the_paint as ppts from team_box_scores bx where game_id='1010700013' and team_id=: Incorrect syntax near '='.