CREATE TABLE "mpeg_2_profiles" (
  "abbr" text,
  "name" text,
  "picture_coding_types" text,
  "chroma_format" text,
  "aspect_ratios" text,
  "scalable_modes" text,
  "intra_dc_precision" text
);

Question: What Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of 4:2:2 profile?
SQL: SELECT "picture_coding_types" FROM "mpeg_2_profiles" WHERE "chroma_format"='4:2:2 or 4:2:0' AND "name"='4:2:2 profile';

Question: Name the Intra DC Precision that has the Name main profile?
SQL: SELECT "intra_dc_precision" FROM "mpeg_2_profiles" WHERE "name"='main profile';

Question: What Chroma Format that has both Picture Coding Types of i, p, b, and the Name of main profile?
SQL: SELECT "chroma_format" FROM "mpeg_2_profiles" WHERE "picture_coding_types"='i, p, b' AND "name"='main profile';