CREATE TABLE "male_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 No. 8 when No. 10 Jackson and No. 5 Mason?
SQL: SELECT "no_8" FROM "male_names" WHERE "no_10"='jackson' AND "no_5"='mason';

Question: Who was No. 5 when No. 6 Mason and No. 10 Jackson?
SQL: SELECT "no_5" FROM "male_names" WHERE "no_6"='mason' AND "no_10"='jackson';

Question: Who was No. 8 when No. 1 Michael and No. 4 Logan?
SQL: SELECT "no_8" FROM "male_names" WHERE "no_1"='michael' AND "no_4"='logan';

Question: Who was No. 9 when No. 5 Mason and No. 3 Aiden?
SQL: SELECT "no_9" FROM "male_names" WHERE "no_5"='mason' AND "no_3"='aiden';

Question: Who was No. 3 when No. 5 James and No. 6 Mason?
SQL: SELECT "no_3" FROM "male_names" WHERE "no_5"='james' AND "no_6"='mason';