CREATE TABLE "current_medical_schools_in_the_caribbean" (
  "country_territory" text,
  "established" real,
  "degree" text,
  "regional_offshore" text,
  "imed_avicenna_listed" text
);

Question: What is the imed/avicenna listed for a medical school offshore in saint kitts and nevis which was established before 2000 and will give you an MD?
SQL: SELECT "imed_avicenna_listed" FROM "current_medical_schools_in_the_caribbean" WHERE "regional_offshore"='offshore' AND "country_territory"='saint kitts and nevis' AND "degree"='md' AND "established"<2000;

Question: What country has a medical school established in 1969 with both an IMED and avicenna?
SQL: SELECT "country_territory" FROM "current_medical_schools_in_the_caribbean" WHERE "imed_avicenna_listed"='both' AND "established"=1969;

Question: What is the average year that the medical school in dominican republic was established?
SQL: SELECT AVG("established") FROM "current_medical_schools_in_the_caribbean" WHERE "country_territory"='dominican republic';