list of castle episodes
the 6th episode of castle was the only one to have less than 8 million us viewers .
{'scope': 'all', 'row': '6', 'col': '7', 'col_other': '1', 'criterion': 'less_than', 'value': '8', 'subset': None}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_less', 'args': ['all_rows', 'us viewers ( in millions )', '8'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose us viewers ( in millions ) record is less than 8 .', 'tostr': 'filter_less { all_rows ; us viewers ( in millions ) ; 8 }'}], 'result': True, 'ind': 1, 'tostr': 'only { filter_less { all_rows ; us viewers ( in millions ) ; 8 } }', 'tointer': 'select the rows whose us viewers ( in millions ) record is less than 8 . there is only one such row in the table .'}, {'func': 'eq', 'args': [{'func': 'num_hop', 'args': [{'func': 'filter_less', 'args': ['all_rows', 'us viewers ( in millions )', '8'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose us viewers ( in millions ) record is less than 8 .', 'tostr': 'filter_less { all_rows ; us viewers ( in millions ) ; 8 }'}, 'no by series'], 'result': '6', 'ind': 2, 'tostr': 'hop { filter_less { all_rows ; us viewers ( in millions ) ; 8 } ; no by series }'}, '6'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { filter_less { all_rows ; us viewers ( in millions ) ; 8 } ; no by series } ; 6 }', 'tointer': 'the no by series record of this unqiue row is 6 .'}], 'result': True, 'ind': 4, 'tostr': 'and { only { filter_less { all_rows ; us viewers ( in millions ) ; 8 } } ; eq { hop { filter_less { all_rows ; us viewers ( in millions ) ; 8 } ; no by series } ; 6 } } = true', 'tointer': 'select the rows whose us viewers ( in millions ) record is less than 8 . there is only one such row in the table . the no by series record of this unqiue row is 6 .'}
and { only { filter_less { all_rows ; us viewers ( in millions ) ; 8 } } ; eq { hop { filter_less { all_rows ; us viewers ( in millions ) ; 8 } ; no by series } ; 6 } } = true
select the rows whose us viewers ( in millions ) record is less than 8 . there is only one such row in the table . the no by series record of this unqiue row is 6 .
{'and_4': 'and', 'result_5': 'true', 'only_1': 'only', 'filter_less_0': 'filter_less', 'all_rows_6': 'all_rows', 'us viewers (in millions)_7': 'us viewers ( in millions )', '8_8': '8', 'eq_3': 'eq', 'num_hop_2': 'num_hop', 'no by series_9': 'no by series', '6_10': '6'}
['no by series', 'title', 'directed by', 'written by', 'original air date', 'production number', 'us viewers ( in millions )']
[['1', 'flowers for your grave', 'rob bowman', 'andrew w marlowe', 'march 9 , 2009', '101', '10.76'], ['2', 'nanny mcdead', 'john terlesky', 'barry schindel', 'march 16 , 2009', '103', '10.97'], ['3', 'hedge fund homeboys', 'rob bowman', 'david grae', 'march 23 , 2009', '104', '9.14'], ['4', 'hell hath no fury', 'rob bowman', 'andrew w marlowe', 'march 30 , 2009', '102', '9.09'], ['5', 'a chill goes through her veins', 'bryan spicer', 'charles murray', 'april 6 , 2009', '105', '9.03'], ['6', 'always buy retail', 'jamie babbit', 'gabrielle stanton & harry werksman', 'april 13 , 2009', '107', '7.73'], ['7', 'home is where the heart stops', 'dean white', 'will beall', 'april 20 , 2009', '106', '8.21'], ['8', 'ghosts', 'bryan spicer', 'moira kirland', 'april 27 , 2009', '108', '8.24']]