471,072 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,072 software developers and data experts.

Select all unique collumn entries in mysql

Hi all

Can anyone tell me how you can query mysql for all unique entries into
a particular table collumn. Ive checked the manual but had no luck!

Kind regards

marc

May 30 '06 #1
1 2078
monomaniac21 wrote:
Hi all

Can anyone tell me how you can query mysql for all unique entries into
a particular table collumn. Ive checked the manual but had no luck!

Kind regards

marc


Hi,

I don't know mySQL too well, but every DB that understands SQL should have a
modifier named DISTINCT.
SELECT DISTINCT firstname FROM tblpeople;

Regards,
Erwin Moller
May 30 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Benjamin Dickgießer | last post: by
3 posts views Thread by Sven Reifegerste | last post: by
1 post views Thread by windandwaves | last post: by
3 posts views Thread by Kall, Bruce A. | last post: by
4 posts views Thread by monomaniac21 | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.