What is the difference between join and union.

Answer Posted / rajan nadal

In join method join the two table by Atleast one row
match enough to join that tables

but in union

union can be combine the two select satement in the table
here the two select stament table having same number of
column and and datatype then only combine the two select
statement.here union display distinct values but union all
display all the values

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is native sql query?

544


What is the use of & in pl sql?

532


What is error ora-01000: maximum open cursors exceeded

598


Which is faster view or stored procedure?

498


explain advantages of innodb over myisam. : Sql dba

636






How do you write an index?

522


What are different types of queries in sql?

517


can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible? : Sql dba

525


Is time a data type in sql?

474


Does sqlite need a server?

535


What trigger means?

559


what is the difference between sql and t-sql? : Transact sql

593


What is faster join or subquery?

505


What is pl/sql language case sensitive?

629


What is lexical units in pl sql?

565