user: Question: What year has the ride flight deck and a rating of less than 5?
Columns: ['Ride', 'Year Opened', 'Ride Manufacturer and Type', 'Minimum Height', 'Rating']
Types: ['text', 'real', 'text', 'text', 'real']
Sample row: ['The Demon', 1980.0, 'Arrow Dynamics', '48"', 5.0]
SQL:

assistant: SELECT "Year Opened" FROM "Table" WHERE "Ride" = 'flight deck' AND "Rating" < 5.0;