摘要: 现在我们有2张表 如下:T1--大表 10000笔 T1_FK_ID T2--小表 5000笔 T2_PK_IDT1通过表中字段ID与T2的主键ID关联 模拟数据如下:--T2有5000笔数据create table T2asselect rownum id, a.* from all_objects a where 1=0; -- Create/Recreate primary, un... 阅读全文
posted @ 2012-11-08 18:39 全威儒 阅读(1332) 评论(0) 推荐(0)
摘要: 为了方便起见,建立了以下简单模型,和构造了部分测试数据: 在某个业务受理子系统BSS中, SQL 代码 --客户资料表 create table customers ( customer_id number(8) not null, -- 客户标示 city_name varcha... 阅读全文
posted @ 2012-11-08 18:30 全威儒 阅读(2743) 评论(0) 推荐(0)