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