当前位置:网站首页>mysql min() 求某条件下最小的值出现多个结果
mysql min() 求某条件下最小的值出现多个结果
2022-07-02 12:41:00 【CSDN问答】
mysql min( ) 求最小值时 加的条件不生效
求 一张表内 项目 a 时间最小值 项目 B 时间最小值
SELECT `ID` , `项目` ,`昵称` , `时间` , `项目` , `UID` FROM `Probs` WHERE `时间` = ( SELECT MIN(`时间`) FROM `Probs` WHERE `项目` like '%无相之水%' and day(参与时间)=day(now()) )
求 项目 为 无相之水 中 最小时间的值 出现2个
因为项目 A 时间是 20.9 项目B 时间也是 20.9
但是 我加了 项目
like '%无相之水%' 不知道为什么还出现2个
求解答
边栏推荐
- 微信v3native支付设置的结束时间处理办法
- Nebula Graph & 数仓血缘关系数据的存储与读写
- GraphX 图计算实践之模式匹配抽取特定子图
- Boot connection to impala database
- The sea of stars hidden behind the nebula graph
- JS learning notes - variables
- Maui learning road (III) -- in depth discussion of winui3
- The outline dimension function application of small motherboard
- Experiment collection of University "Fundamentals of circuit analysis". Experiment 7 - Research on sinusoidal steady-state circuit
- /Bin/ld: cannot find -lxml2
猜你喜欢
idea jar包冲突排查
Huawei ECS installs mysqlb for mysqld service failed because the control process exited with error code. See “sys
Review materials for the special topic of analog electronics with all essence: basic amplification circuit knowledge points
MySQL calculates the data within the longitude and latitude range
Application of visualization technology in Nebula graph
IDEA中设置背景图片(超详细)
Tree binary search tree
Aiko ai Frontier promotion (7.2)
解决** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the defau
潘多拉 IOT 开发板学习(RT-Thread)—— 实验2 RGB LED 实验(学习笔记)
随机推荐
PHP static members
基于 Nebula Graph 构建百亿关系知识图谱实践
Maui学习之路(三)--Winui3深入探讨
Experiment collection of University Course "Fundamentals of circuit analysis". Experiment 5 - Research on equivalent circuit of linear active two terminal network
After the win10 system is upgraded for a period of time, the memory occupation is too high
HMS core machine learning service helps zaful users to shop conveniently
[idea] recommend an idea translation plug-in: translation "suggestions collection"
Make p12 certificate [easy to understand]
Various entanglements between qvariant and Jason -- QT
The difference and usage of calloc, malloc and realloc functions
Conditions and solutions of deadlock
Practice of constructing ten billion relationship knowledge map based on Nebula graph
SQLServer查询哪些索引利用率低
Ssh/scp does not prompt all activities are monitored and reported
纪念成为首个 DAYU200 三方 demo 贡献者
可视化技术在 Nebula Graph 中的应用
数据湖(十一):Iceberg表数据组织与查询
/Bin/ld: cannot find -llz4
多数据源配置代码
如何實現十億級離線 CSV 導入 Nebula Graph