How to get the count of distinct records. Please give me the
query?
Answer Posted / name
select count(distinct columnname) from table ,this is correct as i checked the query
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
Where can you add custom error messages to sql server?
What is difference between foreign key and unique key?
How to add a new column to an existing table with "alter table ... Add" in ms sql server?
How to convert numeric values to integers in ms sql server?
Can you pass expressions to function parameters?
Explain what is dbcc?
How many types of functions are there in sql server?
What is data mart? : sql server analysis services, ssas
What are the advantages of passing name-value pairs as parameters?
Which are the two editions in which SQL Azure database available?
Explain transaction server explicit transaction?
List the different index configurations possible for a table?
Can a stored procedure call itself or recursive stored procedure? How many levels sp nesting is possible?
How do I start sql server 2017?
Explain few examples of stored procedure over triggers?