日期:2014-05-20 浏览次数:20635 次
/*int result = ed.insertData("insert into jdbc_test(jdbc_name,jdbc_desc)"
+"select s.student_name, t.teacher_name"
+"from student_table s , teacher_table t"
+"where s.java_teacher = t.teacher_id;");*/
int result = ed.insertData("insert into jdbc_test(jdbc_name,jdbc_desc)"
+ "select s.student_name , t.teacher_name "
+ "from student_table s , teacher_table t "
+ "where s.java_teacher = t.teacher_id;");