简体   繁体   English

在 Where 条件下使用 MAX Function

[英]Using MAX Function with Where condition

I tried to get MAX Value from this query with DateTime condition( which compare database and SQL server time), results are ok but not showing the MAX value during the DateTime condition selected.我尝试使用 DateTime 条件(比较数据库和 SQL 服务器时间)从此查询中获取 MAX 值,结果正常,但在选择的 DateTime 条件期间未显示 MAX 值。 any advice, please任何建议,请

Result:结果:

Code:代码:

Thank all, issue solved by removing IMAX from the group thanks ankit singh谢谢大家,通过从组中删除 IMAX 解决了问题感谢 ankit singh

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM