摘要: package com.hanqi.test; import java.sql.*; public class jdbcTest { public static void main(String[] args) { // 测试JDBC Connection conn = null; try { // 1... 阅读全文
posted @ 2016-06-20 15:32 周帝 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-06-20 15:29 周帝 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1 package com.hanqi.test; 2 3 import java.sql.*; 4 5 public class jdbcTest { 6 7 public static void main(String[] args) { 8 9 // 测试JDBC 10 11 Connection conn = null;... 阅读全文
posted @ 2016-06-20 10:12 周帝 阅读(340) 评论(0) 推荐(0) 编辑
摘要: insert into score t values('111','3-105',88)--插入一行数据 insert into score(sno,cno) values('111','3-105')--指定插入某一行的哪一列数据 insert into score_1 select * from score --把表score中的全部数据复制到score_1表中,前提条件表的数据结构要一致 ... 阅读全文
posted @ 2016-06-20 10:00 周帝 阅读(275) 评论(0) 推荐(0) 编辑