Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What is the smallest rating with nightly rank smaller than 7, timeslot rank smaller than 5 and eposide after episode 6?

### Inputs:
table_name: table, columns: ['Episode', 'Rating', 'Share', 'Rating/share (18-49)', 'Rank (Timeslot)', 'Rank (Night)']

### Response:
SELECT MIN Rating FROM table WHERE Rank (Night) < 7 AND Rank (Timeslot) < 5 AND Episode > 6