What is the rank with more than 40 laps and a 23 finish?
CREATE TABLE "indy_500_results" (
  "year" text,
  "start" text,
  "qual" text,
  "rank" text,
  "finish" text,
  "laps" real
);
SELECT "rank" FROM "indy_500_results" WHERE "laps">40 AND "finish"='23';