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
Explain what is table in a database?
explain the delete statements in sql
how does a local variable is defined using t-sql? : Transact sql
What are the various restrictions imposed on view in terms of dml?
What is a system versioned table?
Is primary key a clustered index?
What is sqlservr exe?
What are the syntax and use of the coalesce function?
What is cartesian join in sql?
When should I use nosql database?
The select into statement is most often used to create backup copies of tables or for archiving records?
What is difference between cursor and trigger?
Can there be 2 primary keys in a table?
What is example of database?
How do I view a sql trace file?