Please don't ask others to do your work for you as this just cheats yourself out of learning to program and others in your class if you claim work for credit that you did not do yourself. This is not a "please do my homework for me" forum. Please go to the Java tutorials which you can find
here, look up and study the JDBC tutorials, and then give your assignment a try. If you have trouble with
your code, please feel free to come back and ask your questions, and we'll be able to help.
Closing this thread.