CREATE TABLE "planets" (
  "planet" text,
  "planet_type" text,
  "semimajor_axis_au" real,
  "orbital_period" text,
  "radial_velocity_m_s" real,
  "detectable_by" text
);

Question: What planet orbits in 3.23 days?
SQL: SELECT "planet" FROM "planets" WHERE "orbital_period"='3.23 days';

Question: What type of planet has a radial velocity of 45.2 m/s?
SQL: SELECT "planet_type" FROM "planets" WHERE "radial_velocity_m_s">45.2;

Question: What type of planet has a semimajor axis of 0.07 AU?
SQL: SELECT "planet_type" FROM "planets" WHERE "semimajor_axis_au"=0.07;

Question: How can Planet, 51 pegasi b be detected?
SQL: SELECT "detectable_by" FROM "planets" WHERE "planet"='51 pegasi b';