数据库
hedan_hd
这个作者很懒,什么都没留下…
展开
-
使用JDBC批量插入数据
public static boolean saveSynset_02_365zn(List synsetcns, String tableName) { openDB(); String sql = "insert into " + tableName + "(Synset_id,W_num,Chinese) values(?,?,?)"; System.out.println(sql); tr原创 2012-06-06 09:40:05 · 545 阅读 · 0 评论 -
查询同一个表中重复的字段
//查询同一个表中某个字段重复的sql: select tmp._name from (select count(e._name) c,e._name from extractinfo e group by e._name) tmp where tmp.c >= 2 //查询两个结构相同表中相同的name select a._name from extractinfo1 a where a.原创 2012-08-24 14:17:19 · 538 阅读 · 0 评论