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
What do you mean by a Composite primary key?
What is the template in sql?
How to concatenate two strings in SQL Server.
Write the SQL query to drop, truncate and delete table.
Can we call stored procedure in view in sql server?
What is a rollup clause?
Explain what are the restrictions that views have to follow? : SQL Server Architecture
What is the chart in report?
What is a trigger what are the advantages of trigger?
Find nth lowest salary or get nth lowest salary?
What is function of CUBE ?
What happens on checkpoint?
Does a server store data?
Difference between report and query parameter.
How you can change the database name in SQL SERVER?