Question: portugal has how many total number of medals when there is 1 gold medal, and bronze medals are greater than 0?
SQL: SELECT COUNT("Total") FROM "2-1822142-5" WHERE "Gold" = 1.0 AND "Nation" = 'portugal' AND "Bronze" > 0.0;

Question: Spain with a total of more than 4 medals is in what rank?
SQL: SELECT "Rank" FROM "2-1822142-5" WHERE "Total" > 4.0 AND "Nation" = 'Spain';