SCHEMA:
CREATE TABLE table_name_1 (ngc_number INTEGER, constellation VARCHAR)
USER:
Which NGC number has a Constellation of ursa major?

QUERY:
SELECT MAX(ngc_number) FROM table_name_1 WHERE constellation = "ursa major"