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'

  • 相关阅读:
    [做题记录-乱做] [AGC004F] Namori
    字符串分割去除空格
    逆向实战01-嘟嘟牛在线
    mysql超8小时解决
    macbook golang的debug模式不好使
    博客暂时废弃公告
    [干货] 博客园主题
    [Contest on 2021.10.14] 我靠,真的好困!
    [Contest on 2021.10.9] 说好的 100kb 呢?
    [Contest on 2021.10.7] 已经起不了标题了...
  • 原文地址:https://www.cnblogs.com/naliang/p/5571505.html
Copyright © 2011-2022 走看看