摘要:
为了方便起见,建立了以下简单模型,和构造了部分测试数据:在某个业务受理子系统BSS中,SQL 代码--客户资料表createtablecustomers(customer_id number(8)notnull,-- 客户标示city_name varchar2(10)notnull,-- 所在城市... 阅读全文
posted @ 2015-07-31 17:04
疯子110
阅读(774)
评论(0)
推荐(0)
摘要:
1、查找表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断select*frompeoplewherepeopleIdin(select peopleIdfrom peoplegroupby peopleIdhavingcount(peopleId)>1)例二:select*fro... 阅读全文
posted @ 2015-07-31 17:04
疯子110
阅读(3464)
评论(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
阅读(3591)
评论(0)
推荐(0)

浙公网安备 33010602011771号