Table: ngc_objects_2001_3000_2
Columns: ngc_number
object_type
constellation
right_ascension_j2000
declination_j2000

Question: I want the NGC number for leo of irregular galaxy
SQL: SELECT "ngc_number" FROM ngc_objects_2001_3000_2 WHERE "constellation" = 'leo' AND "object_type" = 'irregular galaxy'

Question: Tell me the highest NGC number for right ascension of 09h40m28.5s
SQL: SELECT MAX("ngc_number") FROM ngc_objects_2001_3000_2 WHERE "right_ascension_j2000" = '09h40m28.5s'

Question: What is the constellation for open cluster?
SQL: SELECT "constellation" FROM ngc_objects_2001_3000_2 WHERE "object_type" = 'open cluster'