zoukankan      html  css  js  c++  java
  • 礼品卡导入可用

    INSERT INTO gift_certificate (giftCertificateNo,purchaser,recipient,isSentByEmail,giftCertAmt,remainedAmt,giftType,STATUS,VERSION,m1Amt,m2Amt,m3Amt,m4Amt,m5Amt,m6Amt,m7Amt,m8Amt,m9Amt,m10Amt,m11Amt,m12Amt,customerId,registerTime)VALUES('16940084','N/A','N/A',1,500,500,1,1,0,30,0,0,0,0,0,0,0,0,0,0,0,-2,'2014-10-09 14:00:00');
    INSERT INTO gift_certificate (giftCertificateNo,purchaser,recipient,isSentByEmail,giftCertAmt,remainedAmt,giftType,STATUS,VERSION,m1Amt,m2Amt,m3Amt,m4Amt,m5Amt,m6Amt,m7Amt,m8Amt,m9Amt,m10Amt,m11Amt,m12Amt,customerId,registerTime)VALUES('ab74448351','N/A','N/A',1,500,500,1,1,0,30,0,0,0,0,0,0,0,0,0,0,0,-2,'2014-10-09 14:00:00');

    查询数据库

    SELECT COUNT(giftCertificateId) AS num FROM gift_certificate WHERE giftCertificateId >= 22116 ;

    INSERT INTO coupon(promoRuleId,couponNo,isSent,remainedTimes,STATUS,VERSION)VALUES(38,'yhq510528967',0,1,1,0);

    更新某个字段

    UPDATE coupon SET promoRuleId=79 WHERE couponNo='yhq511220091';

    统计

    SELECT COUNT(*) AS 总共 FROM gift_certificate WHERE giftCertificateNo LIKE '%abchina%'

  • 相关阅读:
    Laravel笔记
    Mysql函数大全
    nginx中文文档
    解析富文本框
    VSCode的C++环境配置,多cpp在同一文件夹(json方式)
    UltraISO光盘刻录
    plog日志库(c++)
    .NET Core安装
    Halcon深度学习——奇异值检测
    C++命名规范
  • 原文地址:https://www.cnblogs.com/bluewelkin/p/4040818.html
Copyright © 2011-2022 走看看