Table: ngc_objects_2001_3000_5
Columns: ngc_number
object_type
constellation
right_ascension_j2000
declination_j2000

Question: Which Object type has a Constellation of cancer?
SQL: SELECT "object_type" FROM ngc_objects_2001_3000_5 WHERE "constellation" = 'cancer'

Question: Which NGC number has a Constellation of ursa major?
SQL: SELECT MAX("ngc_number") FROM ngc_objects_2001_3000_5 WHERE "constellation" = 'ursa major'

Question: Which Constellation has a NGC number smaller than 2775, and a Declination (J2000) of °05′07″?
SQL: SELECT "constellation" FROM ngc_objects_2001_3000_5 WHERE "ngc_number" < 2775 AND "declination_j2000" = '°05′07″'

Question: Which Object type has a NGC number of 2787?
SQL: SELECT "object_type" FROM ngc_objects_2001_3000_5 WHERE "ngc_number" = 2787