2007 latvian higher league
only two teams had 18 wins in the 2007 latvian higher league .
{'scope': 'all', 'criterion': 'equal', 'value': '18', 'result': '2', 'col': '4', 'subset': None}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_eq', 'args': ['all_rows', 'wins', '18'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose wins record is equal to 18 .', 'tostr': 'filter_eq { all_rows ; wins ; 18 }'}], 'result': '2', 'ind': 1, 'tostr': 'count { filter_eq { all_rows ; wins ; 18 } }', 'tointer': 'select the rows whose wins record is equal to 18 . the number of such rows is 2 .'}, '2'], 'result': True, 'ind': 2, 'tostr': 'eq { count { filter_eq { all_rows ; wins ; 18 } } ; 2 } = true', 'tointer': 'select the rows whose wins record is equal to 18 . the number of such rows is 2 .'}
eq { count { filter_eq { all_rows ; wins ; 18 } } ; 2 } = true
select the rows whose wins record is equal to 18 . the number of such rows is 2 .
{'eq_2': 'eq', 'result_3': 'true', 'count_1': 'count', 'filter_eq_0': 'filter_eq', 'all_rows_4': 'all_rows', 'wins_5': 'wins', '18_6': '18', '2_7': '2'}
['position', 'club', 'played', 'wins', 'draws', 'losses', 'goals for', 'goals against', 'points', 'goal difference']
[['1', 'fk ventspils', '28', '18', '6', '4', '59', '16', '60', '+ 43'], ['2', 'fhk liepājas metalurgs', '28', '18', '4', '6', '42', '21', '58', '+ 21'], ['3', 'fk rīga', '28', '17', '6', '5', '48', '28', '57', '+ 20'], ['4', 'skonto fc rīga', '28', '16', '7', '5', '54', '27', '55', '+ 27'], ['5', 'fk daugava daugavpils', '28', '9', '6', '13', '33', '38', '33', '- 5'], ['6', 'fk jūrmala', '28', '7', '5', '16', '28', '51', '26', '- 23'], ['7', 'dinaburg fc daugavpils', '28', '6', '2', '20', '23', '58', '20', '- 35'], ['8', 'jfc olimps rīga', '28', '2', '2', '24', '15', '63', '8', '- 48']]