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 |
Can you use order by when defining a view?
How will you know when statistics on a table are obsolete?
Why do we use non clustered index?
Can you index views?
How many types of dimensions are there and what are they? : sql server analysis services, ssas
why cluster and non clusterindex are used in sqlserver 2000? explain with example
between cast and convert which function would you prefer and why?
What is the latest version of microsoft sql server?
To automatically record the time on which the data was modified in a table, which data type should you choose for the column?
Can we install sql server 2016 on windows 7?
How you can get a list of all the table constraints in a database?
Explain the first normal form(1nf)?