CREATE TABLE "cast" (
  "actor" text,
  "character" text,
  "duration" text,
  "no_of_series" text,
  "episodes" real
);

Question: What character is in over 22 episodes?
SQL: SELECT "character" FROM "cast" WHERE "episodes">22;

Question: What is the lowest number of episodes for anabel barnston?
SQL: SELECT MIN("episodes") FROM "cast" WHERE "actor"='anabel barnston';

Question: What character is played by dani harmer for under 23 episodes?
SQL: SELECT "character" FROM "cast" WHERE "episodes"<23 AND "actor"='dani harmer';

Question: How many episodes have a duration of 3?
SQL: SELECT COUNT("episodes") FROM "cast" WHERE "duration"='3';