three cheers for sweet revenge
with three cheers for sweet revenge , when the region is united states , the only time the format was cd was on june 8 , 2004 .
{'scope': 'subset', 'row': '6', 'col': '4', 'col_other': '1,2', 'criterion': 'equal', 'value': 'cd', 'subset': {'col': '1', 'criterion': 'equal', 'value': 'united states'}}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_str_eq', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'region', 'united states'], 'result': None, 'ind': 0, 'tostr': 'filter_eq { all_rows ; region ; united states }', 'tointer': 'select the rows whose region record fuzzily matches to united states .'}, 'format', 'cd'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose region record fuzzily matches to united states . among these rows , select the rows whose format record fuzzily matches to cd .', 'tostr': 'filter_eq { filter_eq { all_rows ; region ; united states } ; format ; cd }'}], 'result': True, 'ind': 2, 'tostr': 'only { filter_eq { filter_eq { all_rows ; region ; united states } ; format ; cd } }', 'tointer': 'select the rows whose region record fuzzily matches to united states . among these rows , select the rows whose format record fuzzily matches to cd . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'region', 'united states'], 'result': None, 'ind': 0, 'tostr': 'filter_eq { all_rows ; region ; united states }', 'tointer': 'select the rows whose region record fuzzily matches to united states .'}, 'format', 'cd'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose region record fuzzily matches to united states . among these rows , select the rows whose format record fuzzily matches to cd .', 'tostr': 'filter_eq { filter_eq { all_rows ; region ; united states } ; format ; cd }'}, 'date'], 'result': 'june 8 , 2004', 'ind': 3, 'tostr': 'hop { filter_eq { filter_eq { all_rows ; region ; united states } ; format ; cd } ; date }'}, 'june 8 , 2004'], 'result': True, 'ind': 4, 'tostr': 'eq { hop { filter_eq { filter_eq { all_rows ; region ; united states } ; format ; cd } ; date } ; june 8 , 2004 }', 'tointer': 'the date record of this unqiue row is june 8 , 2004 .'}], 'result': True, 'ind': 5, 'tostr': 'and { only { filter_eq { filter_eq { all_rows ; region ; united states } ; format ; cd } } ; eq { hop { filter_eq { filter_eq { all_rows ; region ; united states } ; format ; cd } ; date } ; june 8 , 2004 } } = true', 'tointer': 'select the rows whose region record fuzzily matches to united states . among these rows , select the rows whose format record fuzzily matches to cd . there is only one such row in the table . the date record of this unqiue row is june 8 , 2004 .'}
and { only { filter_eq { filter_eq { all_rows ; region ; united states } ; format ; cd } } ; eq { hop { filter_eq { filter_eq { all_rows ; region ; united states } ; format ; cd } ; date } ; june 8 , 2004 } } = true
select the rows whose region record fuzzily matches to united states . among these rows , select the rows whose format record fuzzily matches to cd . there is only one such row in the table . the date record of this unqiue row is june 8 , 2004 .
{'and_5': 'and', 'result_6': 'true', 'only_2': 'only', 'filter_str_eq_1': 'filter_str_eq', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_7': 'all_rows', 'region_8': 'region', 'united states_9': 'united states', 'format_10': 'format', 'cd_11': 'cd', 'str_eq_4': 'str_eq', 'str_hop_3': 'str_hop', 'date_12': 'date', 'june 8 , 2004_13': 'june 8 , 2004'}
['region', 'date', 'label', 'format', 'catalogue']
[['australia', 'april 11 , 2005', 'reprise', 'cd', '9362486152'], ['japan', 'july 22 , 2004', 'reprise', 'cd', 'wpcr11890'], ['japan', 'january 26 , 2005', 'reprise', 'cd + dvd', 'wpzr30075'], ['japan', 'june 24 , 2009', 'reprise', 'cd', 'wpcr13504'], ['united kingdom', 'september 3 , 2004', 'reprise', 'cd', '9362486152'], ['united states', 'june 8 , 2004', 'reprise', 'cd', '486152'], ['united states', 'december 16 , 2008', 'reprise', '12 vinyl', '148615']]