select a。sktno款台,a。jlbh小票,vipid,a。jysj交易时间,c。rydm收银员号,c。PERSONNAME收银员, b。inx, d。spcode货号,b。barcode条码,d。name品名,d。lsdj后台零售价,sum(b。xssl)销售数量,sum(b。xsje)销售金额 fromxsjla,xsjlcb,ryxxc,spbarcoded wherea。sktnob。sktnoanda。jlbhb。jlbh anda。sktno47 anda。skyc。PERSONID andb。barcoded。barcode() andb。xssl100 groupbyd。spcode,b。barcode,d。name,d。lsdj andd。spcode102091468 andd。lsdjb。lsdj orderbyd。name; selecta。sktno款台,a。jlbh小票,vipid,a。jysj交易时间,c。rydm收银员号,c。PERSONNAME收银员, b。inx,d。spcode货号,b。barcode条码,d。name品名,d。lsdj后台零售价,b。lsdj款台零售价,b。xssl销售数量,b。xsje销售金额 fromxsjla,xsjlcb,ryxxc,spbarcoded wherea。sktnob。sktnoanda。jlbhb。jlbh anda。sktno47 anda。skyc。PERSONID andb。barcoded。barcode() andb。xssl10 andd。spcode102091468 andd。lsdjb。lsdj orderbya。sktno,a。jlbh,b。inx; 八缺货明细 selecte。groupno采购号,g。groupname采购名,e。supplier供应商号,e。item货号,e。descr描述,e。stock库存,e。dmsDMS,e。lastreceived最后到货日,e。lastsold最后销售日 fromerpjxcqhe,groupsg wheree。location100108ande。rundate日期ande。groupnog。groupnoorderbye。groupno,e。supplier 查数据中心畅销品 selectcount()fromcmxitemlocinformswhereloc100108andquicksellertypeY; selectcount()fromerpitemlocwherequicksellertypeYandlocationin(100108); 查询小票明细 selecttochar(trunc(a。jysj),yyyymmdd)日期, tochar(a。jysj,HH24:MI:SS)时间, (SELECTCURVALFROMBFCSLS8。BFCONFIGWHEREJLBH0)店号, a。sktno机台, a。jlbh发票号, d。rydm收银员号, d。PERSONNAME收银员, c。spcode货号, b。barcode过机条码, c。name品名, b。lsdj零售价, b。xssl销量, b。xsje销售金额 frombfpos8。xsjlcxa, bfpos8。xsjlccxb, spbarcodec, ryxxd wherea。sktnob。sktnoanda。jlbhb。jlbh andb。barcodec。barcode anda。skyd。PERSONID andtrunc(a。jysj)todate(开始日期,yyyymmdd) andtrunc(a。jysj)todate(结束日期,yyyymmdd) andc。spcode货号 anda。sktno款台号 andd。rydm收银员号 anda。jlbh小票号 orderbytochar(trunc(a。jysj),yyyymmdd),a。sktno,a。jlbh,b。inx; 鲁花压榨玉米油900ml瓶收银员绩效 select(selectcurvalfrombfconfigwherejlbh0)店号,c。rydm收银员编号,c。personname收银员,spcode货号,d。barcode条码,d。name品名, d。lsdj零售单价,sum(xssl)销售数量,sum(b。xsje)销售金额 fromSKTXSJLa,bfpos8。SKTXSJLCb,BFPUBCS。RYXXc,spxxjbd wherea。sktnob。sktnoanda。jlbhb。JLBH anda。skyc。personid andb。spidd。spid andB。BARCODEin(6916168618909) andtrunc(a。jysj)BETWEENtodate(开始日期,yyyymmdd)ANDTODATE(结束日期,yyyymmdd) groupbyc。rydm,c。personname,spcode,d。barcode,d。name,d。lsdj orderbyc。rydm select金兴店店名, item商品, descr商品描述, decode(saleqty,0,null,round(saleamountsaleqty,2))平均售价, gorqty进货数量, saleqty销售数量, stockonhand库存数量, returnqty退货数量, trandate日期 fromerpjxcitem whereitemin(800039383,800279710)and trandatebetween2017。03。01and2017。05。22and location100108 orderbyitem,trandate; 粽子收银员绩效 selecta。sktno款台,a。jlbh小票,vipid,a。jysj交易时间,c。rydm收银员号,c。PERSONNAME收银员, b。inx,d。spcode货号,b。barcode条码,d。name品名,d。lsdj后台零售价,b。lsdj款台零售价,b。xssl销售数量,b。xsje销售金额 fromsktxsjla,sktxsjlcb,ryxxc,spbarcoded wherea。sktnob。sktnoanda。jlbhb。jlbhandd。spcode803756895 anda。skyc。PERSONIDandb。barcoded。barcode() andtrunc(jysj)betweentodate(日期1,yyyymmdd)andtodate(日期2,yyyymmdd) orderbya。sktno,a。jlbh,b。inx 粽子按供应商查 selectsupplier,item,descr,sum(saleqty),sum(saleamount)fromerpjxcitemwheresupplier21013451andlocation100108 andtrandatebetweentodate(20170501,yyyymmdd)andtodate(20170531,yyyymmdd) groupbyitem,descr,supplier havingsum(saleqty)0 orderbydescr selectgroupno,sum(unvatsaleamount),sum(saleamount),tochar(trandate,yyyymm)fromerpjxcitem wherelocation100108andtrandate2017。01。01andgroupnoin(101,102,103,104,201) groupbygroupno,tochar(trandate,yyyymm) orderbytochar(trandate,yyyymm) select(selectcurvalfrombfconfigwherejlbh0)店号,A。SKTNO款台号,a。jlbh小票号,a。jysj时间,c。rydm收银员编号,c。personname收银员,spcode货号,d。barcode条码,d。name购物袋品名, d。lsdj零售单价,sum(xssl)销售数量,sum(b。xsje)销售金额 fromSKTXSJLa,bfpos8。SKTXSJLCb,BFPUBCS。RYXXc,spxxjbd wherea。sktnob。sktnoanda。jlbhb。JLBH anda。skyc。personid andb。spidd。spid ANDSPCODEIN(800017187) andB。BARCODEin(6907992440057) andtrunc(a。jysj)todate(开始日期,yyyymmdd) groupbyc。rydm,c。personname,spcode,d。barcode,d。name,d。lsdj,a。sktno,a。jlbh,a。jysj