摘要: ***select***select *from table1, table2where table1.id *= table2.id -------- 左外部连接,table1中有的而table2中没有得以null表示table1.id =* table2.id -------- 右外部连接select stockname from table1union [all] ----- union合并查询结果集,all-保留重复行select stockname from table2***insert***insert into table_name (Stock_name,Stock_numb 阅读全文
posted @ 2012-03-30 15:11 SOD_QWER 阅读(114) 评论(0) 推荐(0)