Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

You would need to use the COUNT function. Something along the lines of
SELECT "column_name" from "table_name"
WHERE COUNT("column_name") = 1Michael J

![]() |
create simple prog
|
MySQL Problem
|

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