What year has the ride flight deck and a rating of less than 5?
CREATE TABLE "roller_coasters" (
  "ride" text,
  "year_opened" real,
  "ride_manufacturer_and_type" text,
  "minimum_height" text,
  "rating" real
);
SELECT COUNT("year_opened") FROM "roller_coasters" WHERE "ride"='flight deck' AND "rating"<5;