db2數據庫,表相乘,直接擴大表數據

T1 表 SEQ表 想得到結果集爲: 語句: SELECT * FROM (SELECT * FROM seq,t1) u LEFT JOIN t1 ON u.id=t1.id AND u.jjh=t1.jjh AND u.num >= t1.begin_num AND u.num <= t1.end_num WHERE t1.id IS NOT NULL 說明: seq,t1爲表集相乘,行列相乘
相關文章
相關標籤/搜索