The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Need help with Join and More?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
HenryNicholls Posted - 11/19/2021 : 06:32:16 AM
I am in and out of SQL and I am busting the rust once again.

I have 2 tables (Order and Ship) that are very similar and have a lot of the same info.

Order's rows are created on order creation. Ship's are created when orders are completed.

Ship's has an important column that has tracking information on it.

Therefore, Order has 100% all of the Order ID's. Ship only has some Order ID's as Order ID's are completed.

The problem is that I want to pull up all of Order ID's from Order's Table, but also fill in any of the Order ID's row's with tracking if it is available.

What is the best way to do this?
1   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 11/19/2021 : 09:22:02 AM
We just released Origin 2022. You can use the tool menu Worksheet:Join Worksheet by Column to join tables by column and also keep the non-matching records.


James

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000