如果同一数据多于一条记录,如何获得一条记录 [英] how to get single record if more then one record of same data
本文介绍了如果同一数据多于一条记录,如何获得一条记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请帮助我
解决方案
这与netbeans无关.
您只需要在SQL中使用Distinct
即可过滤出重复的记录.
SELECT Distinct COLS from TABLE
:rose:
hi
i am new to programming please any body tell me how to get if i have multiple records of same data but i want only one i am using netbeans
please help me
解决方案
This is nothing to deal with netbeans.
You just needDistinct
in SQL to filter out duplicate records.
SELECT Distinct COLS from TABLE
:rose:
这篇关于如果同一数据多于一条记录,如何获得一条记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文