zoukankan      html  css  js  c++  java
  • 笔记

    select DISTINCT category.`Code` from provincepricingcategory category
    join partsgroup cgroup on category.GroupCode=cgroup.code and cgroup.Category=2
    join partsgroup pgroup on cgroup.parentCode=pgroup.code and pgroup.Category=1
    join sparepart part on part.groupcode=pgroup.groupcode and part.sparebrandcode=cgroup.groupcode
    and part .createtime > '2016-05-30'
    where category.ModifyTime > '2016-05-30' and ModifyTime < '2016-06-05 20:00:00' and GroupType=2

    select * from pricingcategory where groupcode='25186390'

    select * from enterprisepartscost where productcode='25186390'

    select * from sparepart where productcode='25186390' select * from enterprisepartscost_u where productcode='25186390' select * from partssaleprice where productcode='25186390'

    select * from p1001 where productcode='25186390' select * from hks.epc_parts_detailed   where  materialcode ='25186390' select

    select * from provincepricingcategory where groupcode = 'MI-175/65R14-XM2' and customertypeid = 15 and corpcode = 1010

    select GroupCode,customertypeid,corpcode,CreateTime,COUNT(1) from provincepricingcategory GROUP BY GroupCode,customertypeid,corpcode,CreateTime having COUNT(1)>1

    select * from provincepricingcategory where GroupCode ='MI-185/60R15-XM1'

    select GroupCode,category,COUNT(1) from partsgroup GROUP BY GroupCode,category having COUNT(1) >1

    select * from schedulelog

     and category.groupcode='p002999999'

    select DISTINCT category.`Code` from provincepricingcategory category join partsgroup cgroup on category.GroupCode=cgroup.code and cgroup.Category=2 join partsgroup pgroup on cgroup.parentCode=pgroup.code and pgroup.Category=1 join sparepart part on part.groupcode=pgroup.groupcode and part.sparebrandcode=cgroup.groupcode and part .createtime > '2016-05-30' where category.createtime > '2016-05-30' and category.ModifyTime < '2016-06-05 20:00:00' and GroupType=2 and category.groupcode='p002999999'

    select * from provincepricingcategory category join sparepart part on category.groupcode=part.productcode where category.ModifyTime > '2016-05-30' and category.ModifyTime < '2016-06-05 20:00:00' and GroupType=3 and part .createtime > '2016-05-30'

    select * from provincepricingcategory category join sparepart part on category.groupcode=part.productcode where category.createtime > '2016-05-30' and category.createtime < '2016-06-05 20:00:00' and GroupType=3 and part .createtime > '2016-05-30'

    select DISTINCT category.Id from provincepricingcategory category join partsgroup cgroup on category.GroupCode=cgroup.code and cgroup.Category=2 join partsgroup pgroup on cgroup.parentCode=pgroup.code and pgroup.Category=1 join sparepart part on part.groupcode=pgroup.groupcode and part.sparebrandcode=cgroup.groupcode and part .createtime > '2016-05-30' where category.ModifyTime > '2016-05-30' and ModifyTime < '2016-06-08 20:00:00' and GroupType=2 and category.id<600000  order by category.Id

    and category.groupcode='p002999999' select DISTINCT category.Id from provincepricingcategory category

    update provincepricingcategory category join partsgroup cgroup on category.GroupCode=cgroup.code and cgroup.Category=2 join partsgroup pgroup on cgroup.parentCode=pgroup.code and pgroup.Category=1 join sparepart part on part.groupcode=pgroup.groupcode and part.sparebrandcode=cgroup.groupcode and part .createtime > '2016-05-30' set category.modifytime=now() where category.ModifyTime > '2016-05-30' and ModifyTime < '2016-06-08 20:00:00' and GroupType=2 and category.id<600000  order by category.Id

    23238 select * from schedulelog

    select * from provincepricingcategory where modifytime> '2016-06-10 14:00'

  • 相关阅读:
    [转贴]分贝是个什么东西?(好东东)
    [VDSP中的Warning]function declared implicitly
    [VDSP中的Warning]explicit type is missing
    [VDSP中的Warning]integer conversion resulted in a change of sign
    Java 一键多列的map
    springboot 使用邮件服务发送验证码 以及在阿里云服务器的配置
    图像处理之入门篇
    javascript怎么可以判断单选复选按钮是否选中,且传值
    QQ,MSN,SKYPE等在线状态代码 (转)
    在Access中SQL的调试
  • 原文地址:https://www.cnblogs.com/naliang/p/5571505.html
Copyright © 2011-2022 走看看