user: Question: What is the TOTAL Time in Office with a rank smaller than 18, and premier is Joh Bjelke-Petersen?
Columns: ['Rank:', 'Premier:', 'Assumed Office:', 'Left Office:', 'TOTAL Time in Office:']
Types: ['real', 'text', 'text', 'text', 'text']
Sample row: [1.0, 'Joh Bjelke-Petersen', '8 August 1968', '1 December 1987', '19years, 115days']
SQL:

assistant: SELECT "TOTAL Time in Office:" FROM "Table" WHERE "Rank:" < 18.0 AND "Premier:" = 'Joh Bjelke-Petersen';