Why write programs?
•
Why not just write a SQL statement to
express “what you want”?
•
An individual SQL statement can’t do
enough
–
It can’t update multiple tables
–
It can’t perform complicated logic
(conditionals, looping, etc)