您好,能不能麻烦你帮我看一下,下面那里出现问题了,名称还是有相同的
2021年01月11日 03点01分
select x.customid,x.customname,x.goodsname,x.goodsqty,x.credate,s.medicinesort --提取名称ID,单位名称,货品名称,数量,时间,货品分类 from bms_sa_con_dtlqry_v x,pub_goods_v s --客户表,销售表
2021年01月11日 06点01分
where x.goodsname = s.goodsname --客户表与销售表关联 and x.customid = 2038 --客户ID and s.medicinesort in (1,2) --货品类别
2021年01月11日 06点01分
and x.credate between to_date('2020-01-01','yyyy-mm-dd') and to_date('2020-12-31','yyyy-mm-dd') --限定时间 order by goodsname
2021年01月11日 06点01分