user: ### NOW ANSWER:
Question: What is the lowest value for Sydney, when Perth is less than 169000, and when NIGHTLY RANK is less than 5?
Columns: ['Episode number Production number', 'Title', 'Sydney', 'Melbourne', 'Brisbane', 'Adelaide', 'Perth', 'TOTAL', 'WEEKLY RANK', 'NIGHTLY RANK']
Types: ['text', 'text', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: ['14 2-01', 'The Dogs of War', 407000.0, 327000.0, 227000.0, 144000.0, 142000.0, 1247000.0, 21.0, 7.0]
SQL:

assistant: SELECT MIN("Sydney") FROM "Table" WHERE "Perth" < 169000.0 AND "NIGHTLY RANK" < 5.0;