Table: lgbt_sportspeople
Columns: name
lifetime
nationality
sport
notes

Question: Which name has notes b and the game of tennis?
SQL: SELECT "name" FROM lgbt_sportspeople WHERE "sport" = 'tennis' AND "notes" = 'b'

Question: Which lifetime has alan gendreau?
SQL: SELECT "lifetime" FROM lgbt_sportspeople WHERE "name" = 'alan gendreau'