What year has the ride flight deck and a rating of less than 5?
CREATE TABLE table_50848 (
    "Ride" text,
    "Year Opened" real,
    "Ride Manufacturer and Type" text,
    "Minimum Height" text,
    "Rating" real
)
SELECT COUNT("Year Opened") FROM table_50848 WHERE "Ride" = 'flight deck' AND "Rating" < '5'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What year has the ride flight deck and a rating of less than 5? ### Input: CREATE TABLE table_50848 (
    "Ride" text,
    "Year Opened" real,
    "Ride Manufacturer and Type" text,
    "Minimum Height" text,
    "Rating" real
) ### Response: SELECT COUNT("Year Opened") FROM table_50848 WHERE "Ride" = 'flight deck' AND "Rating" < '5'