Question: what is the difference between java and sql?
Answer: Java performs operations on data, and each operation is a change from one state to another. SQL on the other hand makes a statement about the data and then it is up to the database to provide it.