Question: What is the TOTAL Time in Office with a rank smaller than 18, and premier is Joh Bjelke-Petersen?
SQL: SELECT TOTAL Time in Office: FROM table WHERE Rank: < 18 AND Premier: = joh bjelke-petersen