Wednesday, July 1, 2009

MySQL and Java

-------Next, create a database for students using MySQL and a table with some information.

CREATE TABLE address_books (first_name VARCHAR(25), last_name VARCHAR(25), phone_number VARCHAR(15), PRIMARY KEY (phone_number));

INSERT INTO address_books (first_name,last_name,phone_number) VALUES ('David','Freer','786-877-4573')";


Then create a java program (using Netbeans) and show you are able to update it and delete data from the database.

No comments: