CREATE TABLE table_name_31 (ngc_number INT, object_type VARCHAR, right_ascension___j2000__ VARCHAR)

I want the sum of NGC number for spiral galaxy and right acension of 08h14m40.4s
SELECT SUM(ngc_number) FROM table_name_31 WHERE object_type = "spiral galaxy" AND right_ascension___j2000__ = "08h14m40.4s"
SELECT SUM("ngc_number") FROM "table_name_31" WHERE "08h14m40.4s" = "right_ascension___j2000__" AND "object_type" = "spiral galaxy"