两个行的值相同. [英] Two row values are same.
本文介绍了两个行的值相同.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Sql中创建了一个具有5列的表,我从C#中的第5列数据中检索了输出.我的查询是,如果第5列数据中的值相同,则意味着如何编写查询以获取输出.
问候
Balamurugan
Hi,
I have created a table in Sql with 5 columns i''m retriving the output from 5th column data in C#. My Query is if the values are same in 5th column data means how to write the Query for getting the output.
Regards
Balamurugan
推荐答案
使用不同的关键字
use distinct keyword
Select distinct ColumnList from TableName
祝您编码愉快!
:)
Happy Coding!
:)
这篇关于两个行的值相同.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文