当前位置:网站首页>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个
求解答
边栏推荐
- Storage, reading and writing of blood relationship data of Nepal Graph & Data Warehouse
- In memory of becoming the first dayu200 tripartite demo contributor
- JS learning notes - operators
- 数据湖(十一):Iceberg表数据组织与查询
- JS learning notes - first acquaintance
- 构建多架构镜像的最佳实践
- Experiment collection of University Course "Fundamentals of circuit analysis". Experiment 5 - Research on equivalent circuit of linear active two terminal network
- Maui学习之路(三)--Winui3深入探讨
- Traversal before, during and after binary tree
- Moveit obstacle avoidance path planning demo
猜你喜欢
How to import a billion level offline CSV into Nepal graph
全是精华的模电专题复习资料:基本放大电路知识点
The sea of stars hidden behind the nebula graph
Armv8-a programming guide MMU (4)
Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals
Practice of constructing ten billion relationship knowledge map based on Nebula graph
基于 Nebula Graph 构建百亿关系知识图谱实践
又是一年毕业季
Idea jar package conflict troubleshooting
2020.4.12 byte written test questions B DP D monotone stack
随机推荐
将点云坐标转换成世界坐标的demo
Write your own CPU Chapter 11 - learning notes
Maui学习之路(三)--Winui3深入探讨
Introduction to dynamic planning I, BFS of queue (70.121.279.200)
仙人掌之歌——投石问路(3)
Postgressql stream replication active / standby switchover primary database no read / write downtime scenario
/Bin/ld: cannot find -lxslt
The sea of stars hidden behind the nebula graph
Moveit 避障路径规划 demo
MySQL calculates the data within the longitude and latitude range
Construction and business practice of Zhongke brain knowledge map platform
[Xiaobai chat cloud] suggestions on container transformation of small and medium-sized enterprises
Usage of group by
Some problems about pytorch extension
The outline dimension function application of small motherboard
Group by的用法
The difference and usage of calloc, malloc and realloc functions
Conditions and solutions of deadlock
中科大脑知识图谱平台建设及业务实践
全方位解读服务网格(Service Mesh)的背景和概念