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 do you understand by check constraint in sql server?
When we should use @@error?
What are the diifferences between the ms sql server vs mysql?
Diffrences between sql server 2000 vs 2008
How to get a list of all tables with "sys.tables" view in ms sql server?
What is sleeping status in sql server?
What is trigger explain with program?
Explain different types of Normalization.
1 Answers HPCL, Hughes Systique Corporation, Ittiam Systems,
Is BCNF better than 2NF & 3NF? Why?
0 Answers Akamai Technologies,
Explain what is row_number function?
What is log cache in sql server?
What are the advantages of using a stored procedure?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)