CREATE TABLE "6501_6600" (
  "ngc_number" real,
  "object_type" text,
  "constellation" text,
  "right_ascension_j2000" text,
  "declination_j2000" text
);

Question: Name the total number of NGC number for sagittarius and diffuse nebula with declination of °02′
SQL: SELECT COUNT("ngc_number") FROM "6501_6600" WHERE "constellation"='sagittarius' AND "object_type"='diffuse nebula' AND "declination_j2000"='°02′';

Question: I want to know the right ascension which has an NGC less than 6575 and declination of °38′00″
SQL: SELECT "right_ascension_j2000" FROM "6501_6600" WHERE "ngc_number"<6575 AND "declination_j2000"='°38′00″';

Question: Name the right ascension for sagittarius and NGC number larger than 6522 for open cluster and declination of °22′
SQL: SELECT "right_ascension_j2000" FROM "6501_6600" WHERE "constellation"='sagittarius' AND "ngc_number">6522 AND "object_type"='open cluster' AND "declination_j2000"='°22′';