CREATE TABLE table_40318 ("Party" TEXT, "1985" FLOAT, "1987" FLOAT, "1990" FLOAT, "1995" FLOAT, "1999" FLOAT, "2003" FLOAT, "2007" FLOAT, "2011" FLOAT)

What is the highest 1987 value with a 1995 value less than 1995 and a 1999 less than 9?
SELECT MAX("1987") FROM table_40318 WHERE "1995" < '1995' AND "1999" < '9'
SELECT MAX("1987") FROM "table_40318" WHERE "1995" < '1995' AND "1999" < '9'