Table: francophonie_1989_medals
Columns: rank
nation
gold
silver
bronze
total

Question: What's the highest silver and 1 gold that the nation of djibouti received with a total less than 3?
SQL: SELECT MAX("silver") FROM francophonie_1989_medals WHERE "gold" = 1 AND "nation" = 'djibouti' AND "total" < 3

Question: What's the total number that had a rank larger than 17 and a gold greater than 0?
SQL: SELECT COUNT("total") FROM francophonie_1989_medals WHERE "rank" > 17 AND "gold" > 0