How to get the Most frequent value from table without using Top, CTE, RowNum and Rank in SQL Server?

前端 未结 0 835
攒了一身酷
攒了一身酷 2020-12-17 18:36

I have to fetch the most frequent value from the table, I have written the below query and it is giving the expected result.

SELECT
    TOP 1 State
FROM
    C         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题