CREATE TABLE "targets" (
  "hd_designation" text,
  "constellation" text,
  "distance_ly" text,
  "spectral_type" text,
  "signal_power_k_w" real,
  "date_sent" text,
  "arrival_date" text
);

Question: If the distance is 55.7, what is the name of the constellation?
SQL: SELECT "constellation" FROM "targets" WHERE "distance_ly"='55.7';

Question: If the spectral type is g1v, what is the total distance amount?
SQL: SELECT COUNT("distance_ly") FROM "targets" WHERE "spectral_type"='G1V';

Question: What is the hd designation for arrival date of February 2070?
SQL: SELECT COUNT("hd_designation") FROM "targets" WHERE "arrival_date"='February 2070';

Question: If the constellation is Gemini, what is the spectral type?
SQL: SELECT "spectral_type" FROM "targets" WHERE "constellation"='Gemini';

Question: If the arrival date is January 2059, what is the total amount of signal power?
SQL: SELECT COUNT("signal_power_k_w") FROM "targets" WHERE "arrival_date"='January 2059';

Question: If the spectral type is g1v, what is the constellation?
SQL: SELECT "constellation" FROM "targets" WHERE "spectral_type"='G1V';