How to get the count of distinct records. Please give me the
query?
Answer Posted / madhavi.bandreddi
select count(*) from (select distinct * from tablename)as
dummytable
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What command must you use to include the not null constraint after a table has already been created?
What are the dmvs? : sql server database administration
What is replication and database mirroring?
What is primary key, unique key, and foreign key?
What is use of attribute hierarchy ordered ? : sql server analysis services, ssas
How is SQL Azure different than SQL server?
What are the main sources of data?
Is a null value equal to anything? Can a space in a column be considered a null value? Why or why not?
How many ways to create table-valued functions?
Do you know what is difference between stored procedure and user defined function?
what's new in sql server 2016?
Give a example to search fr a string in all stored procedure in sql server.
How does stuff differ from the replace function?
Explain what is public role in sql server?
What is an identity?