Railsplitter44
04-25-2008, 03:22 AM
Hello,
I have a mysql table and I would like to display some of its info. One of the columns contains a lot of duplicate values and I would like to create a query that will display the 5 most frequent of these values and how many times it appears.
I am fairly new to php/mysql and I have searched the internet and my reference books for a solution and have been unsuccessful. I would appreciate any assistance on this if possible.
Thank you very much
I have a mysql table and I would like to display some of its info. One of the columns contains a lot of duplicate values and I would like to create a query that will display the 5 most frequent of these values and how many times it appears.
I am fairly new to php/mysql and I have searched the internet and my reference books for a solution and have been unsuccessful. I would appreciate any assistance on this if possible.
Thank you very much