Which Line has a Stopping pattern of all stations, A, b, p?
CREATE TABLE "platforms" (
  "stop_no" text,
  "platform" text,
  "line" text,
  "stopping_pattern" text,
  "destination" text
);
SELECT "line" FROM "platforms" WHERE "stopping_pattern"='all stations, a, b, p';