标签:update ble info inf src cas time rom from
1.//一个sql返回多个总数 统计数据
select count(*) AS num,count(case when status = 1 then status end) as status_1_num,count(case when status = 0 then status end) as status_0_num from ws_users;
2.时间戳查询转换
select id, from_unixtime(time_line, ‘%Y-%m-%d %h:%i:%s‘) as day from ws_chat_log where id >10;
标签:update ble info inf src cas time rom from
原文地址:https://www.cnblogs.com/kevin-yang123/p/12172800.html