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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Need help with Join and More?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

HenryNicholls

1 Posts

Posted - 11/19/2021 :  06:32:16 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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?

YimingChen

1664 Posts

Posted - 11/19/2021 :  09:22:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000