5 public static void main( String argv
[] )
10 Class
.forName("csql.jdbc.JdbcSqlDriver");
13 Connection con
= DriverManager
.getConnection("jdbc:csql", "root", "manager");
16 Statement stmt
= con
.createStatement();
17 ResultSet rs
= stmt
.executeQuery( "SELECT * FROM t1" );
20 System
.out
.println( rs
.getInt(1) + ", " + rs
.getInt(2) );
26 // Disconnect from CSQL
29 } catch(Exception e
) {
30 System
.out
.println("selectT1: " + e
);