How to get the count of distinct records. Please give me the
query?
Answer Posted / pradyumna
select distinct colname,count(colname) from tbl group by
colname
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Do you know the policy based administration feature of sql server 2008?
what’s the difference between Covering Indexes and Clustered Indexes ? how to use clustered index small ?
How can you tell if a database object is invalid?
How many primary keys are possible in a table?
Does sql server 2016 have ssms?
what is bit datatype? : Sql server database administration
What are the differences between DDL, DML and DCL in SQL?
How do I find my localdb version?
What are the differences between “row_number()”, “rank()” and “dense_rank()”?
What are the general features of sql server management studio? : sql server management studio
What are scalar functions in sql?
How can you manage sql azure security?
New concepts of sql server 2005 use in your project.
How will you add a dimension to cube? : sql server analysis services, ssas
What is the maximum length of an alert name?