Question: What was the loss/gain when the votes -cast was 166?
SQL: SELECT "Loss/gain" FROM "1-25818630-2" WHERE "Votes -cast" = 166.0;

Question: Who as the candidate when the result - % was 2.9%?
SQL: SELECT "Candidate" FROM "1-25818630-2" WHERE "Result - %" = '2.9%';

Question: How many votes were cast when the constituency was Midlothian?
SQL: SELECT "Votes -cast" FROM "1-25818630-2" WHERE "Constituency" = 'Midlothian';

Question: Who was the candidate when the result - % was 0.4%?
SQL: SELECT "Candidate" FROM "1-25818630-2" WHERE "Result - %" = '0.4%';

Question: What was the loss/gain when the affiliation was Solidarity?
SQL: SELECT "Loss/gain" FROM "1-25818630-2" WHERE "Affiliation" = 'Solidarity';