sql - TSQL Return Guid that occurs the most in a column -
If I have a table with two columns, for example the name and id, where id is the GUID, I have column 2 How do I return the maximum count value from?
unchecked:
SELECT TOP ID 1, COUNT (*) ID Count by UnknownTable GROUP IDOfRows DSC from AS CountOfRows
Comments
Post a Comment