CREATE TABLE school (school_id TEXT, school_name TEXT, location TEXT, mascot TEXT, enrollment DECIMAL, ihsaa_class TEXT, ihsaa_football_class TEXT, county TEXT)
CREATE TABLE budget (school_id DECIMAL, year DECIMAL, budgeted DECIMAL, total_budget_percent_budgeted DECIMAL, invested DECIMAL, total_budget_percent_invested DECIMAL, budget_invested_percent TEXT)
CREATE TABLE endowment (endowment_id DECIMAL, school_id DECIMAL, donator_name TEXT, amount DECIMAL)

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" > 3000 AND "year" <= 2001