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
Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.
What is the difference between sdf and mdf?
What is the difference between DataRow.Delete() and DataRow.Remove()?
What is row_number function?
What do you understand by the data quality services in sql server?
How to enter date and time literals in ms sql server?
what is datawarehouse?
What is sql collation?
Using the customer, and order table in northwind database, please write a query to produce xml?
What are the different types of lock modes in sql server 2000?
What is bulkcopy in sql?
Name the different type of indexes in sql?
How to get a list of all tables with "sys.tables" view in ms sql server?
What is the difference between varchar and nvarchar?
What is normalization 1nf 2nf 3nf?