What are the differences between UNION and JOINS?

Answer Posted / sree

UNION:The SQL UNION operator combines two or more SELECT
statements.

JOINS:SQL joins are used to query data from two or more
tables, based on a relationship between certain columns in
these tables.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to execute multiple stored procedures at one time in sql server?

685


How can we improve performance by using SQL Server profiler?

737


How to automatically create a log when an exception is being received into SQL Server?

928


What is a filestream?

735


System variable and temporary variables

1900






What is a non clustered primary key?

668


How can we get count of the number of records in a table?

695


How to copy the tables, schema and views from one sql server to another?

738


Why I am getting this error when dropping a database in ms sql server?

772


What is table level trigger?

760


How to set database to be single_user in ms sql server?

761


what is the primary use of the model database? : Sql server administration

721


What is index, cluster index and nonclustered index?

683


Explain linked server in sql?

864


What is query and its types?

682