我怎样才能找到指定数据的最大数量? [英] How Could I Find A Maximum Number In A Row For A Specified Data?
本文介绍了我怎样才能找到指定数据的最大数量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只想找到一行中的最大数字,并且需要显示列名称的数据!!!!
I just want to find maximum number in a row and need to display the data with the column name!!!!
推荐答案
您是否尝试过: - < br $>
从tablename中选择MAX(ColumnName)作为'SomeName'
Have you tried:-
Select MAX(ColumnName) as 'SomeName' from tablename
这篇关于我怎样才能找到指定数据的最大数量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文