admin
05-30-2003, 01:21 PM
This will return the "field" that is most common in your database.
SELECT TOP 1 field FROM table GROUP BY field ORDER BY COUNT(*)
SELECT TOP 1 field FROM table GROUP BY field ORDER BY COUNT(*)
View Full Version : Getting the Most Common Field