CREATE TABLE table_50848 ("Ride" TEXT, "Year Opened" FLOAT, "Ride Manufacturer and Type" TEXT, "Minimum Height" TEXT, "Rating" FLOAT)

What year has the ride flight deck and a rating of less than 5?
SELECT COUNT("Year Opened") FROM table_50848 WHERE "Ride" = 'flight deck' AND "Rating" < '5'
SELECT COUNT("Year Opened") FROM "table_50848" WHERE "Rating" < '5' AND "Ride" = 'flight deck'