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 are the advantages to use stored procedures?
what are the types of indexes? : Sql server database administration
Mention a few common trace flags used with sql server?
What are subqueries in sql server? Explain its properties.
what is the system function to get current user's user id? : Sql server database administration
What is the difference between function and stored procedure in sql server?
How to create dbo table in sql server?
what does the automatic recovery do? : Sql server administration
Difference between drill down and drill through report.
Explain powershell included in sql server 2008?
Can we write trigger for view?
Does a full backup include transaction log?
what authentication modes does sql server support? : Sql server database administration
Is ssrs support other database except ms sql server?
What are the advantages of user-defined functions over stored procedures in sql server?