https://www.w3resource.com/sqlite/sqlite-select-query-statement.php


/* SELECT ChipID FROM "tb_XM1004_B_DWL_t2_f" WHERE ChipID!=0 AND T2_ChipResult!='DB_T2_T1ErrAddrNum_OutOfRange'; CAST(ChipID AS CHAR(24)) CHAR(ChipID) BIGINT('111') DIGITS(ChipID)
Dec(ChipID)
HEX(X) SELECT CONVERT(VARBINARY(50), 123456) http://www.cnblogs.com/gaizai/p/4001016.html
concat(HEX(ChipID)) 和c 一样, 记得 X位数 之前要加0 , 比如 printf('%018X', V) =>18个字符的16进制
printf('%08X', V) //多个参数
printf("%08X,%08X,%08X", V1,V2,V3) SELECT printf("%016X",ChipID),T1_ChipResult FROM "tb_XM1004_B_DWL_t1_f" WHERE ChipID<>0 AND T1_ChipResult <> "Status_T1_ErrAddrNum_OutOfRange" ORDER BY ChipID SELECT printf("%X",ChipID),T2_ChipResult FROM "tb_XM1004_B_DWL_t2_f" WHERE ChipID<>0 AND T2_ChipResult <> "DB_T2_T1ErrAddrNum_OutOfRange" AND T2_ChipResult <> "DB_T2_MergeErrAddrNum_OutOfRange" ORDER BY ChipID != 和<> 都是不等于 */ SELECT printf('%X', ChipID),* FROM "tb_XM1004_B_DWL_t2_f" WHERE ChipID != 0 AND T2_ChipResult != 'DB_T2_T1ErrAddrNum_OutOfRange'; SELECT printf("%X",ChipID),T2_ChipResult FROM "tb_XM1004_B_DWL_t2_f" WHERE ChipID<>0 AND T2_ChipResult <> "DB_T2_T1ErrAddrNum_OutOfRange" AND T2_ChipResult <> "DB_T2_MergeErrAddrNum_OutOfRange" ORDER BY ChipID SELECT printf("%X",ChipID), printf("%X",BatchID) FROM "tb_XM1004_B_DWL_t1_p" ORDER BY ChipID LIMIT 1; SELECT COUNT(ChipID),printf("%X",ChipID), printf("%X",BatchID), T1_ChipResult FROM "tb_XM1004_B_DWL_t1_f" GROUP BY ChipID ORDER BY ChipID; SELECT printf("%X,%X,%X,%X",ChipID,BatchID,T1_Analog1_V12,T1_Analog2_V05) FROM "tb_XM1004_B_DWL_t1_f";

sql query skill的更多相关文章

  1. jstl中的sql:query标签获取的结果如何格式化输出

    <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding= ...

  2. .net连接DB2的异常SQL0666 - SQL query exceeds specified time limit or storage limit.错误处理

    SQL0666 - SQL query exceeds specified time limit or storage limit. 原因:查询超时 解决办法: set the DbCommand.C ...

  3. NHibernate系列文章二十六:NHibernate查询之SQL Query查询(附程序下载)

    摘要 NHibernate在很早的版本就提供了SQL Query(原生SQL查询),对于很复杂的查询,如果使用其他的查询方式实现比较困难的时候,一般使用SQL Query.使用SQL Query是基于 ...

  4. Freebie - Utility Form: Generate Excel Report From SQL Query In Oracle Forms 6i And 11g

    Sharing a form to generate Excel file report from SQL query in Oracle Forms. This form can be used i ...

  5. jasper ireport create a report with parameters without sql query

    I'm new in jasper ireport , and I want to know if it is possible to create a report only with static ...

  6. 使用JSTL的sql:query标签制作分页查询遇到NoSuchFieldError: deferredExpression

    参考:http://hi.baidu.com/desyle/item/4fe650265792d7182a0f1c33 症状: 如题所述,代码如下 <sql:query var="re ...

  7. REP-20147 Cannot implement column link for this detail SQL query. Converting to group link.

    注:本文为原创,作为学习交流使用,转载请标明作者及出处,作者保留追究法律责任的权力. Lumen Su lzsu1989#gmail.com (#=@) www.cnblogs.com/lzsu198 ...

  8. EntityFramework 学习 一 Execute Native SQL Query

    SQL query for entity types: using (var ctx = new SchoolDBEntities()) { var studentList = ctx.Student ...

  9. Entity Framework Tutorial Basics(39):Raw SQL Query

    Execute Native SQL Query You can execute native raw SQL query against the database using DBContext. ...

随机推荐

  1. tesonflow实现word2Vec

    word2Vec 是实现从原始语料中学习字词空间向量的预测模型 使用word2Vec的skip_Gram模型 import collections import math import os impo ...

  2. java.lang.ClassNotFoundException: org.springframework.kafka.core.KafkaAdmin

    <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring ...

  3. 使用Ajax和一般处理程序实现文件上传与下载

    1.使用HTML的input标签 <input type="file" multiple="multiple" id="file_load&qu ...

  4. docker部署vue前端

    1.下载安装nginx image docker pull nginx:latest 2.准备将编译后的代码上传到主机上 3.编写dockerfile, nginx conf,并创建镜像 Docker ...

  5. SSO单点登录实例

    单点登录流程图 系统登陆拦截器 // // Source code recreated from a .class file by IntelliJ IDEA // (powered by Fernf ...

  6. Hadoop 安装(本地、伪分布、分布式模式)

    本地模式 环境介绍 一共三台测试机 master   192.168.4.91 slave1   192.168.4.45 slave2   192.168.4.96 操作系统配置 1.Centos7 ...

  7. [Shell]Redis未授权访问反弹shell

    原作者:Cream 文章出处: 贝塔安全实验室 0x01 Redis未授权访问反弹shell Redis是一个开源的使用ANSI C语言编写.支持网络.可基于内存亦可持久化的日志型.Key-Value ...

  8. 咏南中间件和开发框架全面支持DELPHI10.3.2

    咏南中间件和开发框架全面支持DELPHI10.3.2 易博龙公司2019年7月12日发布了RAD STUDIO10.3.2正式版本. 咏南中间件自2019年7月14日始,中间件.CS框架.WEB框架. ...

  9. PHP使用MongoDB存储经纬度,查询距离

    https://blog.csdn.net/qq_40012295/article/details/84861466 https://docs.mongodb.com/manual/reference ...

  10. (十七)super关键字(转)

    --本文摘自孤傲苍狼博客. 一.super关键字