Table: uci_track_cycling_2007
Columns: rank
nation
gold
silver
bronze
total

Question: Tell me the lowest gold for rank of 6 and total less than 2
SQL: SELECT MIN("gold") FROM uci_track_cycling_2007 WHERE "rank" = '6' AND "total" < 2

Question: Tell me the rank for bronze less than 17 and gold less than 1
SQL: SELECT "rank" FROM uci_track_cycling_2007 WHERE "bronze" < 17 AND "silver" > 1 AND "gold" < 1