CREATE TABLE "6301_6400" (
  "ngc_number" real,
  "object_type" text,
  "constellation" text,
  "right_ascension_j2000" text,
  "declination_j2000" text
);

Question: Which object type had an NGC number greater than 6357 and a declination (J2000) of °45′34″?
SQL: SELECT "object_type" FROM "6301_6400" WHERE "ngc_number">6357 AND "declination_j2000"='°45′34″';

Question: For the constellation scorpius and object of planetary nebula, what was the declination (J2000)?
SQL: SELECT "declination_j2000" FROM "6301_6400" WHERE "constellation"='scorpius' AND "object_type"='planetary nebula';