标签:class span blog end 集合 使用 code 联合 去除
联合结果集union (集合运算符)
-------------------------使用union联合结果集---------------- select tsname,tsgender,tsage from TblStudent union all select fname,fgender,fage from MyStudent -------------------------------------------- --使用union和union all都能进行联合,区别在于:使用union联合去除重复、重新排列数据,而union all不会去除重复也不会重新排列。 select select tsname,tsgender,tsage from TblStudent union select fname,fgender,fage from MyStudent
标签:class span blog end 集合 使用 code 联合 去除
原文地址:http://www.cnblogs.com/Strugglinggirl/p/7205118.html