CREATE TABLE "apollo_astronauts_who_walked_on_the_moon" (
  "name" text,
  "born" text,
  "age_at_first_step" text,
  "mission" text,
  "lunar_eva_dates" text,
  "service" text
);

Question: Which astronaut went on the Apollo 16 mission at the age of 36y 6m 18d to step on the moon?
SQL: SELECT "name" FROM "apollo_astronauts_who_walked_on_the_moon" WHERE "mission"='apollo 16' AND "age_at_first_step"='36y 6m 18d';

Question: David Scott went on which mission?
SQL: SELECT "mission" FROM "apollo_astronauts_who_walked_on_the_moon" WHERE "name"='david scott';

Question: The astronaut who was 37y 8m 4d when making a first step on the moon was in which service?
SQL: SELECT "service" FROM "apollo_astronauts_who_walked_on_the_moon" WHERE "age_at_first_step"='37y 8m 4d';

Question: Pete Conrad was on the Apollo 12 mission but also had what Lunar EVA dates?
SQL: SELECT "lunar_eva_dates" FROM "apollo_astronauts_who_walked_on_the_moon" WHERE "mission"='apollo 12' AND "name"='pete conrad';

Question: The Apollo astronaut who was 38y 9m 7d when first stepping on the moon is who?
SQL: SELECT "born" FROM "apollo_astronauts_who_walked_on_the_moon" WHERE "age_at_first_step"='38y 9m 7d';