How would you retrieve Unique rows from table without using UNIQUE and DISTINCT keyword?

Answer Posted / jayanth

using union
select * from tableA
union
select * from tableB

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is null in sql server?

738


What are locks in sql?

710


How do I start and stop sql server?

706


List all types of constraints in sql server?

685


Explain database normalization?

877






What is the sql server agent?

789


You want your report to display a hyperlink that will take users to your intranet. How do you configure such a hyperlink?

292


What is the command used to recompile the stored procedure at run time?

783


Explain what is dbcc?

781


What command is used to create a database in the sql server and how?

835


how many clustered indexes can be created on a table? : Sql server database administration

781


you have a table with close to 100 million records recently, a huge amount of this data was updated now, various queries against this table have slowed down considerably what is the quickest option to remedy the situation? : Sql server administration

716


What is nonclustered index on computed columns?

726


What are the different types of columns types constraints in the sql server?

737


Call by value and call by reference in procedure and function, with NOCOPY.

1049