[abase sql=”select @curRow := @curRow + 1 as Rank, team as Team, points_total as Points FROM season_team a JOIN (select @curRow := 0) r”]