Computing.Net > Forums > Programming > SQL help plesae

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

SQL help plesae

Reply to Message Icon

Name: coolkang
Date: March 6, 2005 at 21:06:02 Pacific
OS: xp
CPU/Ram: 512
Comment:

Hello helper
I need help with the sql code. I need the sql to get information that is unique. For example if i have {1,2,3,4,4,5,6,6,7} in a column. the output should be {1,2,3,5,7}. now i would not know if 4,4 or 6,6 is the one that is not unique. if you don't understand please let me know. Thank you very much



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: March 6, 2005 at 21:20:03 Pacific
Reply:

You would need to use the COUNT function. Something along the lines of

SELECT "column_name" from "table_name"
WHERE COUNT("column_name") = 1

Michael J


0
Reply to Message Icon

Related Posts

See More


create simple prog MySQL Problem



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: SQL help plesae

SQL Help www.computing.net/answers/programming/sql-help/6312.html

SQL Help! www.computing.net/answers/programming/sql-help/10974.html

still need sql help www.computing.net/answers/programming/still-need-sql-help/1326.html