MrJames
2011-03-24 20:46:54 UTC
Write a Java program that creates a Car table with car manufacturers, models, model years, and fuel efficiency ratings. Insert several cars. Print out the average fuel efficiency. Use CREATE TABLE, INSERT, and SELECT AVG SQL commands.
This has to be done solely in UNIX, like using mysql in unix and everything. I have the JDBC driver and access to mysql in unix. How can I start doing this? How do I connect to the database through java? I really need help getting started. Some code would be greatly appreciated.