SELECT count(*) FROM budget WHERE budgeted  >  3000 AND YEAR  <=  2001
Count the number of budgets in year 2001 or before whose budgeted amount is greater than 3000
SELECT count ( * ) FROM budget WHERE budgeted > 3000 AND YEAR < = 2001
select count ( * ) from budget where budgeted > value and year < = value
Count the number of budgets in year 2001 or before whose budgeted amount is greater than 3000