Difference between JOIN and UNION

Common questions about 1C:Query language, Query builder tool and Data composition schema

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Dec 4, 2012
Company: China Welfare Lottery

Hi! I am very new to programming。 Can you please explain me the difference between JOIN and UNION?

 
#2
People who like this:1Yes/0No
Active user
Rating: 7
Joined: Sep 26, 2012
Company: individual

I think this picture can help understand it.
and also for easy it can be said that "join" is horisontal union (adding columns), and "union" is vertical union (adding lines)

Edited: ivan avdonin - Dec 04, 2012 12:20 PM
 
#3
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Dec 4, 2012
Company: China Welfare Lottery

Thank you!

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.