数据库导出销售单报表,时间:10-12月份,字段:门店编号,销售单号,产品编号,产品名称,品牌
下面是需要的表
--门店编号 T_MA_STORE.code
--销售单号select top 1 CODE from CMS_IDME.dbo.T_SO_SALES_ORDER -- 产品编号,产品名称select top 1 item_no, item_cname from CMS_IDME.dbo.t_ma_article--
品牌select top 1 store_type from CMS_IDME.dbo.T_MA_STORE这些表怎么连起来