user: ### NOW ANSWER:
Question: What was the episode number that had 797000 viewers?
Columns: ['No.', '#', 'Episode', 'Writer', 'Director', 'Original air date', 'Viewing figure']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'real']
Sample row: [2.0, 1.0, '"Flotsam and Jetsam"', 'Toby Whithouse', 'Toby Haynes', '25January2009', 1092000.0]
SQL:

assistant: SELECT "No." FROM "Table" WHERE "Viewing figure" = 797000.0;