CREATE TABLE "3001_3100" (
  "ngc_number" real,
  "object_type" text,
  "constellation" text,
  "right_ascension_j2000" text,
  "declination_j2000" text,
  "apparent_magnitude" real
);

Question: what is the right ascension (j2000) when the apparent magnitude is 13?
SQL: SELECT "right_ascension_j2000" FROM "3001_3100" WHERE "apparent_magnitude"=13;

Question: what is the constellation when the right ascension (j2000) is 09h51m54.0s?
SQL: SELECT "constellation" FROM "3001_3100" WHERE "right_ascension_j2000"='09h51m54.0s';

Question: what is the lowest apparent magnitude when the object type is spiral galaxy, the constellation is leo minor and the ngc number is more than 3021?
SQL: SELECT MIN("apparent_magnitude") FROM "3001_3100" WHERE "object_type"='spiral galaxy' AND "constellation"='leo minor' AND "ngc_number">3021;