CREATE TABLE "groups_containing_halogens" (
  "chemical_class" text,
  "group" text,
  "formula" text,
  "prefix" text,
  "suffix" text,
  "example" text
);

Question: What prefix has Haloalkane as the chemical class?
SQL: SELECT "prefix" FROM "groups_containing_halogens" WHERE "chemical_class"='haloalkane';

Question: Which example has rx as the formula?
SQL: SELECT "example" FROM "groups_containing_halogens" WHERE "formula"='rx';

Question: Which chemical class uses the example Chloroethane (ethyl chloride)?
SQL: SELECT "chemical_class" FROM "groups_containing_halogens" WHERE "example"='chloroethane (ethyl chloride)';

Question: What prefix has Bromo as the group?
SQL: SELECT "prefix" FROM "groups_containing_halogens" WHERE "group"='bromo';

Question: What is the chemical class for ri?
SQL: SELECT "chemical_class" FROM "groups_containing_halogens" WHERE "formula"='ri';

Question: What prefix has chemical class Iodoalkane?
SQL: SELECT "prefix" FROM "groups_containing_halogens" WHERE "chemical_class"='iodoalkane';