user: ### NOW ANSWER:
Question: What number episode had a rating of 4.7?
Columns: ['No.', 'Episode', 'Rating', 'Share', 'Rating/share (18-49)', 'Viewers (millions)', 'Rank (timeslot)', 'Rank (night)']
Types: ['real', 'text', 'text', 'real', 'text', 'text', 'real', 'real']
Sample row: [1.0, '"Sarah Jessica Parker"', '4.6', 8.0, '1.6/6', '6.85', 2.0, 5.0]
SQL:

assistant: SELECT MIN("No.") FROM "Table" WHERE "Rating" = '4.7';