How would you retrieve Unique rows from table without using UNIQUE and DISTINCT keyword?
Answer Posted / virendra maurya
We can simply remove duplicate from table
1. Using CTE
2. Using Group by
3. Using Rank function
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is indexed view? How to create it?
List the different normalization forms?
How can you transfer data from a text file to a database table? Or how can you export data from a table to a comma delimited (csv) file? Or how can you import data from ms access to a table in a database? Or how can you export data from a table to an excel file?
Write a sql query to display the current date?
How is SQL Azure different than SQL server?
Explain what is the purpose of sql profiler in sql server?
How to optimize stored procedures in sql server?
Define normalisation?
Explain tablesample?
What is built-in/administrator?
What the different components in replication and what is their use?
Give a example to search fr a string in all stored procedure in sql server.
What is the process of normalising?
What is difference between equi join and natural join?
what are candidate key, alternate key and composite key? : Sql server database administration