user: Question: What is the BBC 2 rank when BBC 1 is 1st rank and the total viewing is 9,840,000?
Columns: ['Year', 'Broadcast date', 'BBC One total viewing', 'BBC One Rank', 'BBC Two total viewing', 'BBC Two Rank']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['1999', '12 March', '6,830,000', '20th', '3,130,000', '13th']
SQL:

assistant: SELECT "BBC Two Rank" FROM "Table" WHERE "BBC One Rank" = '1st' AND "BBC One total viewing" = '9,840,000';