Table: ngc_objects_2001_3000_4
Columns: ngc_number
object_type
constellation
right_ascension_j2000
declination_j2000
apparent_magnitude

Question: I want the sum of NGC number for spiral galaxy and right acension of 08h14m40.4s
SQL: SELECT SUM("ngc_number") FROM ngc_objects_2001_3000_4 WHERE "object_type" = 'spiral galaxy' AND "right_ascension_j2000" = '08h14m40.4s'

Question: Tell me the right ascension for open cluster and NGC number more than 2547
SQL: SELECT "right_ascension_j2000" FROM ngc_objects_2001_3000_4 WHERE "object_type" = 'open cluster' AND "ngc_number" > 2547

Question: I want the constellation for declination for °45′ and right ascension of 07h58m
SQL: SELECT "constellation" FROM ngc_objects_2001_3000_4 WHERE "declination_j2000" = '°45′' AND "right_ascension_j2000" = '07h58m'

Question: I want the NGC number for right ascension of 08h11m13.6s
SQL: SELECT "ngc_number" FROM ngc_objects_2001_3000_4 WHERE "right_ascension_j2000" = '08h11m13.6s'