CREATE TABLE "group_5_ribbons" (
  "nation" text,
  "t_score" real,
  "a_score" real,
  "e_score" real,
  "pen" real,
  "total" real
);

Question: What E score has the T score of 8 and a number smaller than 22.95?
SQL: SELECT MIN("e_score") FROM "group_5_ribbons" WHERE "t_score"=8 AND "total"<22.95;

Question: What's the sum of A Score that also has a score lower than 7.3 and an E Score larger than 7.1?
SQL: SELECT SUM("a_score") FROM "group_5_ribbons" WHERE "t_score"<7.3 AND "e_score">7.1;