CREATE TABLE "singles_5" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);

Question: For the game played on 31 July 2007 on clay what was the score?
SQL: SELECT "score" FROM "singles_5" WHERE "surface"='clay' AND "date"='31 july 2007';

Question: When was Pablo Andújar the opponent?
SQL: SELECT "date" FROM "singles_5" WHERE "opponent"='pablo andújar';