Table: ngc_objects
Columns: ngc_number
object_type
constellation
right_ascension_j2000
declination_j2000
apparent_magnitude

Question: what is the apparent magnitude of the constellation sculptor
SQL: SELECT COUNT("apparent_magnitude") FROM ngc_objects WHERE "constellation" = 'sculptor'

Question: What is the Right ascension of the Object type spiral galaxy that has an Apparent magnitude larger that 12.2
SQL: SELECT "right_ascension_j2000" FROM ngc_objects WHERE "object_type" = 'spiral galaxy' AND "apparent_magnitude" > 12.2

Question: Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777
SQL: SELECT "constellation" FROM ngc_objects WHERE "apparent_magnitude" > 7.7 AND "ngc_number" = 7777