列中的最大值

编程入门 行业动态 更新时间:2024-10-22 13:40:00
本文介绍了列中的最大值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好! 在这里,我将Querry写入列中的最大值 (从dbo.asd中选择max(m_int)) 但结果是 无列名" Null

hi to all! here i write querry to max value from column (Select max(m_int) from dbo.asd) but the result is "No Column Name" Null

推荐答案

您可能选择了错误的列.确保该列存在于表中. You are probably picking up the wrong column. Make sure the column exists in the table.

您尚未在结果集中为该列提供任何名称,因此您使用的工具将名称显示为无列"姓名".您可以尝试使用以下名称: You haven''t given any name for the column in the result set so the tool you''re using show the name as "No Column Name". You can try giving the name: select max(m_int) as MyMax from dbo.asd

如果表中没有任何行,或者m_int

And the result is null if you don''t have any rows in the table or they all have a null as the value in m_int

更多推荐

列中的最大值

本文发布于:2023-10-27 03:06:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1532128.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:最大值

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!