当前位置:网站首页>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个
求解答
边栏推荐
- Boot transaction usage
- Armv8-a programming guide MMU (4)
- Target detection - make your own deep learning target detection data set with labelimg
- 【5G NR】RRC连接释放
- Boot connection to impala database
- /Bin/ld: cannot find -lpam
- Bean configuration override in boot
- Practice of constructing ten billion relationship knowledge map based on Nebula graph
- Review materials for the special topic of analog electronics with all essence: basic amplification circuit knowledge points
- Another graduation season
猜你喜欢

理想之光不灭

How to import a billion level offline CSV into Nepal graph

《大学“电路分析基础”课程实验合集.实验五》丨线性有源二端网络等效电路的研究

华为云服务器安装mysqlb for mysqld.service failed because the control process exited with error code.See “sys

Processing gzip: stdin: not in gzip format: child returned status 1tar: error is not recoverable: exitin

Idea jar package conflict troubleshooting

Add user-defined formula (time sharing t+0) to mobile app access as an example

MySQL calculates the data within the longitude and latitude range

Introduction to Dynamic Planning II (5.647.62)

Boot transaction usage
随机推荐
全方位解读服务网格(Service Mesh)的背景和概念
《大学“电路分析基础”课程实验合集.实验四》丨线性电路特性的研究
Tree binary search tree
GraphX 图计算实践之模式匹配抽取特定子图
Song of cactus - throwing stones to ask the way (3)
PHP static members
愛可可AI前沿推介(7.2)
Various entanglements between qvariant and Jason -- QT
构建多架构镜像的最佳实践
day4
Analysis of the difference between array and linked list
Comparison between rstan Bayesian regression model and standard linear regression model of R language MCMC
What are the necessary functions of short video app development?
Memory alignment of structure
End time processing method of wechat v3native payment settings
/Bin/ld: cannot find -llz4
Moveit obstacle avoidance path planning demo
/Bin/ld: cannot find -lxml2
多数据源配置代码
Write your own CPU Chapter 11 - learning notes