当前位置:网站首页>查询表中开始日期与结束日期
查询表中开始日期与结束日期
2022-07-30 16:52:00 【莫欺少中老年穷】
查询表中开始日期与结束日期
select startTime ,endTime from
(
select create_time as startTime, 1 as 'id' from
(
select DISTINCT(create_time)
from wifi_third_history_flow_information
ORDER BY UNIX_TIMESTAMP(create_time) DESC limit 1
) as temp
) A
join
(
select create_time as endTime, 1 as 'id' from
(
select DISTINCT(create_time)
from wifi_third_history_flow_information
ORDER BY UNIX_TIMESTAMP(create_time) ASC limit 1
) as temp
) B
on A.id = B.id;
#方式二
select create_time from (
select create_time from
(
select DISTINCT(create_time)
from wifi_third_history_flow_information
ORDER BY UNIX_TIMESTAMP(create_time) DESC limit 24
) as temp limit 1 )
as a
UNION
select create_time from (
select create_time from
(
select DISTINCT(create_time)
from wifi_third_history_flow_information
ORDER BY UNIX_TIMESTAMP(create_time) ASC limit 24
) as temp limit 1 )
as b
边栏推荐
- Invalid or corrupt jarfile xxx.jar
- Public Key Retrieval is not allowed error solution
- Navisworks切换语言
- DTSE Tech Talk丨第2期:1小时深度解读SaaS应用系统设计
- onenote使用
- 优酷视频元素内容召回系统:多级多模态引擎探索
- The service already exists! Solution
- 3D激光SLAM:LeGO-LOAM论文解读---激光雷达里程计与建图
- 报错500,“message“: “nested exception is org.apache.ibatis.binding.BindingException: 解决记录
- 【SOC】Classic output hello world
猜你喜欢
随机推荐
Scheduling_Channel_Access_Based_on_Target_Wake_Time_Mechanism_in_802.11ax_WLANs
Discuz杂志/新闻报道模板(jeavi_line)UTF8-GBK模板
PHP message feedback management system source code
LeetCode167: Sum of two numbers in sorted array
对话框 QDialog ( 详解 )
Go新项目-编译热加载使用和对比,让开发更自由(3)
[TypeScript] Introduction, Development Environment Construction, Basic Types
为人处世之道,与君共勉!
huato 热更新环境搭建(DLL方式热更新C#代码)
[NCTF2019]Fake XML cookbook-1|XXE漏洞|XXE信息介绍
Navisworks切换语言
安全业务收入增速超70% 三六零筑牢数字安全龙头
Security business revenue growth rate exceeds 70% 360 builds digital security leader
获得抖音商品详情 API
MySQL超详细安装教程 手把手教你安装MySQL到使用MySQL 最简单的MySQL安装方式,这种方式装,卸载也简单
论文阅读 (63):Get To The Point: Summarization with Pointer-Generator Networks
3D激光SLAM:LeGO-LOAM论文解读---特征提取部分
华为云数据治理生产线DataArts,让“数据‘慧’说话”
疫情之下的裁员浪潮,7点建议帮你斩获心仪offer
[Geek Challenge 2020] Roamphp1-Welcome







![[MRCTF2020]Ezaudit](/img/80/d4656abdff20703591ffdc3f5a5ebc.png)

