CREATE TABLE table_40515 ("Date" FLOAT, "Doubles ,  I Class" FLOAT, "Doubles ,  II Class" FLOAT, "Greater Doubles" FLOAT, "Doubles" FLOAT, "Semidoubles" FLOAT, "Total" FLOAT)

What is the lowest Semidoubles, when Doubles, II Class is 18, and when Total is less than 164?
SELECT MIN("Semidoubles") FROM table_40515 WHERE "Doubles, II Class" = '18' AND "Total" < '164'
SELECT MIN("Semidoubles") FROM "table_40515" WHERE "Doubles, II Class" = '18' AND "Total" < '164'