How would you retrieve Unique rows from table without using UNIQUE and DISTINCT keyword?
Answers were Sorted based on User's Feedback
Answer / jayanth
using union
select * from tableA
union
select * from tableB
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
What are the differences between decimal and float in ms sql server?
What is enhanced database mirroring in sql server 2008?
Which command is used for user defined error messages?
What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?
How can sql injection be stopped? : sql server security
What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?
What is an execution plan? When would you use it? How would you view the execution plan?
write coding for importing sql data into a word excel...
what is a join? : Sql server database administration
What are the advantages of partitioning?
What is the difference between NOROW and LOCKROW?
0 Answers Accenture, Honeywell, Satyam,
plss anybody specify tha constrian management system in dbms