摘要: SQL: select * into b from a where 1<>1 说明:拷贝表(拷贝数据,源表名:a 目标表名:b) SQL: insert into b(a, b, c) select d,e,f from b; 说明:显示文章、提交人和最后回复时间 SQL: select a.title,a.username,b.adddate from table a,(select max(adddate) adddate from tablebwhere table.title=a.title) 说明:外连接查询(表名1:a 表名2:b) SQL: select... 阅读全文
posted @ 2012-02-16 15:02 wayne_d 阅读(139) 评论(0) 推荐(0) 编辑