Table: charley_johnson
Columns: name
completions
attempts
completion
yards
touchdowns
interceptions
qb_rating

Question: How many touchdowns were scored when QB rating was 82.7?
SQL: SELECT MAX("touchdowns") FROM charley_johnson WHERE "qb_rating" = '82.7'

Question: What was the QB rating for Neil lomax?
SQL: SELECT "qb_rating" FROM charley_johnson WHERE "name" = 'Neil Lomax'

Question: How many attempts did Charley Johnson have?
SQL: SELECT COUNT("attempts") FROM charley_johnson WHERE "name" = 'Charley Johnson'

Question: How many touchdowns were there with QB rating of 66.6?
SQL: SELECT "touchdowns" FROM charley_johnson WHERE "qb_rating" = '66.6'