I'm not sure if it has been done yet or not, but I thought this program might be helpful to those that want to practice SQL in Java, because it sure is helpful for me! =)
The assumption is that you're running Java 5+ and that you have a Database linked already.
You can provide your own Driver argument as well - you'll have to add a comma an the String version of the location of your Driver in the DatabaseAccess object in the main method of the DatabaseProgram class.
I'm hoping to make a much better front-end version of this program in the future.
Anyways, Have fun! =)