>mysql -u root -p
>use test
CREATE TABLE Catalog(CatalogId INTEGER, Journal VARCHAR(25),
Publisher Varchar(25),
Date VARCHAR(25), Title Varchar(45), Author Varchar(25));
INSERT INTO Catalog VALUES('1', 'onjava',
'OReilly', 'April 2005', 'Five Favorite Features from 5.0',
'David Flanagan');
INSERT INTO Catalog VALUES('2', 'onjava',
'OReilly', 'Feb 2005', 'Introducing JBoss Remoting',
'John Mazzitelli');
INSERT INTO Catalog VALUES('3', 'onjava',
'OReilly', 'March 2005', 'Aspect-Oriented Annotations',
'Bill Burke');
COM.ibm.db2.jdbc.app.DB2Driver
jdbc:db2:
db2java.zip
com.sybase.jdbc2.jdbc.SybDriver
jdbc:sybase:Tds::/
jconn2.jar
oracle.jdbc.driver.OracleDriver
jdbc:oracle:thin:@ ::
classes12.zip
com.microsoft.jdbc.sqlserver.SQLServerDriver
jdbc:microsoft:sqlserver://localhost:1433
mssqlserver.jar, msbase.jar, msutil.jar
org.postgresql.Driver
jdbc:postgresql://:/
postgresql.jar
SQL>SELECT catalogId, journal, publisher, date,
title, author from Catalog;