CREATE TABLE "message_format" (
  "subframe_num" real,
  "page_num" text,
  "name" text,
  "word_num" real,
  "bits" text
);

Question: What is the average word count with crs and subframes lesser than 2?
SQL: SELECT AVG("word_num") FROM "message_format" WHERE "name"='crs' AND "subframe_num"<2;

Question: What is the page count and word count greater than 5 with Bits of 18–22?
SQL: SELECT "page_num" FROM "message_format" WHERE "word_num">5 AND "bits"='18–22';

Question: What is the total subframe count with Bits of 18–22?
SQL: SELECT SUM("subframe_num") FROM "message_format" WHERE "bits"='18–22';