How many budget record has a budget amount smaller than the invested amount?
CREATE TABLE budget (budgeted INTEGER, invested VARCHAR)
SELECT COUNT(*) FROM budget WHERE budgeted < invested
### Context: CREATE TABLE budget (budgeted INTEGER, invested VARCHAR) ### Question: How many budget record has a budget amount smaller than the invested amount? ### Answer: SELECT COUNT(*) FROM budget WHERE budgeted < invested