CREATE TABLE table_40171 ("Candidate" TEXT, "Votes" FLOAT, "Percentage" TEXT, "Counties" FLOAT, "Delegates" FLOAT)

What is the lowest number of delegates when John McCain was the candidate with less than 45 candidates?
SELECT MIN("Delegates") FROM table_40171 WHERE "Candidate" = 'john mccain' AND "Counties" < '45'
SELECT MIN("Delegates") FROM "table_40171" WHERE "Candidate" = 'john mccain' AND "Counties" < '45'