the good wife ( season 2 )
season 2 of the good wife episodes written by robert king & michelle king averaged 12.47 million viewers per episode .
{'scope': 'subset', 'col': '7', 'type': 'average', 'result': '12.47', 'subset': {'col': '5', 'criterion': 'equal', 'value': 'robert king & michelle king'}}
{'func': 'round_eq', 'args': [{'func': 'avg', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'written by', 'robert king & michelle king'], 'result': None, 'ind': 0, 'tostr': 'filter_eq { all_rows ; written by ; robert king & michelle king }', 'tointer': 'select the rows whose written by record fuzzily matches to robert king & michelle king .'}, 'us viewers ( million )'], 'result': '12.47', 'ind': 1, 'tostr': 'avg { filter_eq { all_rows ; written by ; robert king & michelle king } ; us viewers ( million ) }'}, '12.47'], 'result': True, 'ind': 2, 'tostr': 'round_eq { avg { filter_eq { all_rows ; written by ; robert king & michelle king } ; us viewers ( million ) } ; 12.47 } = true', 'tointer': 'select the rows whose written by record fuzzily matches to robert king & michelle king . the average of the us viewers ( million ) record of these rows is 12.47 .'}
round_eq { avg { filter_eq { all_rows ; written by ; robert king & michelle king } ; us viewers ( million ) } ; 12.47 } = true
select the rows whose written by record fuzzily matches to robert king & michelle king . the average of the us viewers ( million ) record of these rows is 12.47 .
{'eq_2': 'eq', 'result_3': 'true', 'avg_1': 'avg', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_4': 'all_rows', 'written by_5': 'written by', 'robert king & michelle king_6': 'robert king & michelle king', 'us viewers (million)_7': 'us viewers ( million )', '12.47_8': '12.47'}
['no in series', 'no in season', 'title', 'directed by', 'written by', 'original air date', 'us viewers ( million )']
[['24', '1', 'taking control', 'félix alcalá', 'robert king & michelle king', 'september 28 , 2010', '12.84'], ['25', '2', 'double jeopardy', 'dean parisot', 'ted humphrey', 'october 5 , 2010', '12.76'], ['26', '3', 'breaking fast', 'james whitmore , jr', 'corinne brinkerhoff', 'october 12 , 2010', '11.82'], ['27', '4', 'cleaning house', 'rosemary rodriguez', 'robert king & michelle king', 'october 19 , 2010', '12.17'], ['28', '5', 'vip treatment', 'michael zinberg', 'robert king & michelle king', 'october 26 , 2010', '12.59'], ['29', '6', 'poisoned pill', "peter o'fallon", 'keith eisner', 'november 9 , 2010', '12.33'], ['30', '7', 'bad girls', 'jim mckay', 'courtney kemp agboh', 'november 16 , 2010', '11.74'], ['31', '8', 'on tap', 'roxann dawson', 'leonard dick', 'november 23 , 2010', '10.03'], ['32', '9', 'nine hours', 'julie hébert', 'meredith averill', 'december 14 , 2010', '11.84'], ['33', '10', 'breaking up', 'félix alcalá', 'robert king & michelle king', 'january 11 , 2011', '12.29'], ['34', '11', 'two courts', 'tom dicillo', 'ted humphrey', 'january 18 , 2011', '11.43'], ['35', '12', 'silly season', 'rosemary rodriguez', 'corinne brinkerhoff', 'february 1 , 2011', '12.14'], ['40', '17', 'ham sandwich', 'griffin dunne', 'keith eisner', 'march 22 , 2011', '11.70'], ['41', '18', 'killer song', 'james whitmore , jr', 'karen hall', 'march 29 , 2011', '10.16'], ['42', '19', 'wrongful termination', 'phil abraham', 'ted humphrey', 'april 5 , 2011', '10.82']]