CREATE TABLE "female_names" (
  "region_year" text,
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "no_10" text
);

Question: Who was number 4 when Natalie was number 9?
SQL: SELECT "no_4" FROM "female_names" WHERE "no_9"='natalie';

Question: Who was number 7 when Olivia was number 5 and Emma was number 2?
SQL: SELECT "no_7" FROM "female_names" WHERE "no_5"='olivia' AND "no_2"='emma';

Question: When Chloe was number 8, Olivia was number 2, Emma was number 1, and Ava was number 4, who was number 5?
SQL: SELECT "no_5" FROM "female_names" WHERE "no_8"='chloe' AND "no_2"='olivia' AND "no_1"='emma' AND "no_4"='ava';