首页 > 平台组件基础模板 > 组件详情页
免费 多流Union合并
查看:541
评分:80
所属分类: 平台组件基础模板
所需积分: 免费
开发者: RestCloud
版本: 1.0 最后更新:2023-08-07 00:38:31
模板介绍
模板说明
将不同节点的数据组合为新的数据。
流程图

依赖表结构
CREATE TABLE `store1_sales` (
`sale_id` int(11) DEFAULT NULL,
`sale_date` date DEFAULT NULL,
`product_id` int(11) DEFAULT NULL,
`quantity` int(11) DEFAULT NULL,
`unit_price` decimal(10,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `store2_sales` (
`sale_id` int(11) DEFAULT NULL,
`sale_date` date DEFAULT NULL,
`product_id` int(11) DEFAULT NULL,
`quantity` int(11) DEFAULT NULL,
`unit_price` decimal(10,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `store_sales` (
`sale_id` int(11) DEFAULT NULL,
`sale_date` date DEFAULT NULL,
`product_id` int(11) DEFAULT NULL,
`quantity` int(11) DEFAULT NULL,
`unit_price` decimal(10,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
模板介绍
模板说明
将不同节点的数据组合为新的数据。
流程图

依赖表结构
CREATE TABLE `store1_sales` (
`sale_id` int(11) DEFAULT NULL,
`sale_date` date DEFAULT NULL,
`product_id` int(11) DEFAULT NULL,
`quantity` int(11) DEFAULT NULL,
`unit_price` decimal(10,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `store2_sales` (
`sale_id` int(11) DEFAULT NULL,
`sale_date` date DEFAULT NULL,
`product_id` int(11) DEFAULT NULL,
`quantity` int(11) DEFAULT NULL,
`unit_price` decimal(10,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `store_sales` (
`sale_id` int(11) DEFAULT NULL,
`sale_date` date DEFAULT NULL,
`product_id` int(11) DEFAULT NULL,
`quantity` int(11) DEFAULT NULL,
`unit_price` decimal(10,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
使用评价
评分:
内容:
请登录后评价!
结果
确定