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