Jump to content

i want to select unique record only?


ok

Recommended Posts

hi guys  :D

 

let say i have a field

and this field has many records.

 

but some record have duplicates.

 

now how can i select the uniqe record name only in the field?

 

for example,

 

user_name

-----------

john

john

joey

joe

gina

karen

warren

karen

george

warren

 

i want to select them all but not including the duplicate

 

so if i want to select the the name only not including the dupliate then the result is

 

user_name

-----------

john

joey

joe

gina

karen

warren

george

 

can you show me the right mysql select command please.

 

Thank you.

 

 

 

 

 

 

 

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/122559-i-want-to-select-unique-record-only/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.