Backboards: 
Posts: 157
In response to "SELECT lastname, COUNT(name) as freq FROM table GROUP BY lastname ORDER BY freq ASC. Then take the first result. -- nm" by kilboooo

Yeah, I think this is about where I'm getting. Infortunately, I have to nest the above in another query.

it's getting a bit complex and was hoping there was a function (like COUNT) that I wasn't thinking of.

Responses:
Post a message   top
Replies are disabled on threads older than 7 days.