Thanks, I calculated it out from the equation used here:
Passer rating - Wikipedia
I thought they were different ratings for some reason. The in game formula is the same as the NFL one.
MySql equation:
round(100*(((((sum(pass_completions)/sum(pass_attempts))-0.3)*5)+(((sum(passing_yards)/sum(pass_attempts))-3)*0.25)+((sum(touchdown_passes)/sum(pass_attempts))*20)+(2.375-(sum(intercepted)/sum(pass_attempts))*25))/6),1) as NFL_rating