Question: Which Party has a Residence of San Diego?
SQL: SELECT "Party" FROM "2-17769516-1" WHERE "Residence" = 'San Diego';

Question: Which Years in Senate  has a Years in Assembly of 2010–present, and Toni Atkins?
SQL: SELECT "Years in Senate" FROM "2-17769516-1" WHERE "Years in Assembly" = '2010–present' AND "Name" = 'Toni Atkins';

Question: Which Party has Years in Senate of —, and  Years in Assembly of 2012–present?
SQL: SELECT "Party" FROM "2-17769516-1" WHERE "Years in Senate" = '—' AND "Years in Assembly" = '2012–present';

Question: Show the Residence whose Name is Rich Gordon?
SQL: SELECT "Residence" FROM "2-17769516-1" WHERE "Name" = 'Rich Gordon';

Question: Which Years in Assembly has a Name of Toni Atkins?
SQL: SELECT "Years in Assembly" FROM "2-17769516-1" WHERE "Name" = 'Toni Atkins';

Question: Which Party has Years in Assembly of 2008–present, and a Name of Tom Ammiano?
SQL: SELECT "Party" FROM "2-17769516-1" WHERE "Years in Assembly" = '2008–present' AND "Name" = 'Tom Ammiano';