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

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