Table: lib_dem_election
Columns: general_election
name
share_of_votes
seats
share_of_seats

Question: Which Seatshave a Share of votes of 18%, and a Share of seats of 3%, and a General election smaller than 1992?
SQL: SELECT MIN("seats") FROM lib_dem_election WHERE "share_of_votes" = '18%' AND "share_of_seats" = '3%' AND "general_election" < 1992

Question: How much General election has a Share of votes of 17%?
SQL: SELECT SUM("general_election") FROM lib_dem_election WHERE "share_of_votes" = '17%'

Question: Which Seats have a Share of votes of 18%, and a Share of seats of 3%, and a General election larger than 1992?
SQL: SELECT MAX("seats") FROM lib_dem_election WHERE "share_of_votes" = '18%' AND "share_of_seats" = '3%' AND "general_election" > 1992

Question: Which Share of seats has Seats smaller than 52, and a Name of sdp–liberal alliance, and a General election of 1983?
SQL: SELECT "share_of_seats" FROM lib_dem_election WHERE "seats" < 52 AND "name" = 'sdp–liberal alliance' AND "general_election" = 1983