Table: ngc_objects_3001_4000
Columns: ngc_number
object_type
constellation
right_ascension_j2000
declination_j2000
apparent_magnitude

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

Question: what is the constellation when the right ascension (j2000) is 09h51m54.0s?
SQL: SELECT "constellation" FROM ngc_objects_3001_4000 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 ngc_objects_3001_4000 WHERE "object_type" = 'spiral galaxy' AND "constellation" = 'leo minor' AND "ngc_number" > 3021