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 is blocking and how would you troubleshoot it?
How to filter records of table in SQL SERVER?
0 Answers Petranics Solutions,
What is conditional split?
How will you monitor replication latency in transactional replication? : sql server replication
Explain the database you used in your final year project?
What is the Control Flow in SSIS
If you are working on a SQL database and if suddenly a developer changes the code and your queries results start giving errors,how will you check using a T-SQL query (on system tables) that what has changed in the database.
How to check if stored procedure is running in sql server?
How to use subqueries with the exists operators in ms sql server?
What types of integrity are enforced by a foreign-key constraint
Which system tables contain information on privileges granted and privileges obtained
what is the difference between delete table and truncate table commands? : Sql server database administration
Oracle (3259)
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)