What is the difference between join and union.

Answer Posted / viswanath

Both of them are two different operations, but both are
used for merging. However, UNION used for Vertical merge
where as JOIN used for Horizontal merge.
We can never use these two distinct operations
interchengably.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is an extent ? : Sql dba

580


How does stored procedure reduce network traffic?

537


What is the mutating table and constraining table?

552


How to avoid using cursors? What to use instead of cursor and in what cases to do so?

594


What is a left join?

502






What makes a good primary key?

516


How do I create a sql script?

534


what is a record in a database ? : Sql dba

563


Show the cursor attributes of pl/sql.

606


C. Normalize the following data up to the 3rd Normal form. Create the tables and insert the data given. Emp_ID Name Dept_Name Salary Course_Title Date_Completed 100 Adam Marketing 48,000 SPSS 6/19/2008 Surveys 10/7/2008 140 Bob Accounting 52,000 Tax Acc 12/8/2008 110 Cathy IT SQL Server 1/12/2008 C# 4/22/2008 190 Dan Finance 150 Emily Marketing 55,000 SPSS 6/16/2008 42,000 Analysis 8/12/2008 Queries 1. Find all Names who have completed the SPSS Course. 2. Find employee with max salary. 3. Find employee with 2nd max salary. 4. Find all employees in Dept “Marketing”. 5. Find all the employees who have taken more than 2 courses. 6. Find all the employees who have completed the courses before month of September.

2167


What is a composite primary key?

577


What is #table in sql?

516


What are the rules to be applied to nulls whilst doing comparisons?

750


how to drop an existing table in mysql? : Sql dba

552


Is sql a programming?

540