摘要:
1、查找表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断select*frompeoplewherepeopleIdin(select peopleIdfrom peoplegroupby peopleIdhavingcount(peopleId)>1)例二:select*fro... 阅读全文
posted @ 2015-07-31 17:04
疯子110
阅读(3450)
评论(0)
推荐(0)
摘要:
一:查询字符串类型的字段的值不为空的SQL:[sql]view plaincopyselect*fromTB_CMS_FLGTINFO_Atwhere(t.fstaisnotnullandt.fsta'');主:上面的TB_CMS_FLGTINFO_A是表名,fsta是表中的字段二:查询字符串类型的... 阅读全文
posted @ 2015-07-31 17:03
疯子110
阅读(3542)
评论(0)
推荐(0)