Schema: CREATE TABLE budget (budgeted VARCHAR, YEAR VARCHAR)
Question: How many budgets are above 3000 in year 2001 or before?
SQL: SELECT COUNT(*) FROM budget WHERE budgeted > 3000 AND YEAR <= 2001