SELECT count(*) FROM budget WHERE budgeted  >  3000 AND YEAR  <=  2001
How many budgets are above 3000 in year 2001 or before?
SELECT count ( * ) FROM budget WHERE budgeted > 3000 AND YEAR < = 2001
select count ( * ) from budget where budgeted > value and year < = value
How many budgets are above 3000 in year 2001 or before ?