CREATE TABLE "commitment_to_development_index_2012" (
  "country" real,
  "rank" text,
  "aid" text,
  "trade" text,
  "investment" text,
  "migration" text,
  "environment" text,
  "security" text,
  "technology" text,
  "overall_average" text
);

Question: What country has a 5.5 mark for security?
SQL: SELECT "rank" FROM "commitment_to_development_index_2012" WHERE "security"='5.5';

Question: How many times is denmark ranked in technology?
SQL: SELECT COUNT("technology") FROM "commitment_to_development_index_2012" WHERE "rank"='Denmark';

Question: What is the environment rating of the country with an overall average rating of 4.7?
SQL: SELECT "environment" FROM "commitment_to_development_index_2012" WHERE "overall_average"='4.7';

Question: What is the migration rating when trade is 5.7?
SQL: SELECT "migration" FROM "commitment_to_development_index_2012" WHERE "trade"='5.7';