Two table left join with 4 keys

3 ビュー (過去 30 日間)
JFz
JFz 2017 年 5 月 23 日
コメント済み: Peter Perkins 2017 年 5 月 23 日
Hi,
I have two tables, A and B, each has 7 columns and 4 keys. I would like to left join by the 4 keys and show the rest 3 columns of both table into a new table, with only one set of the keys.
The purpose is to compare the two tables.
How to do that?
Thanks,
Jennifer
  2 件のコメント
Rik
Rik 2017 年 5 月 23 日
What have you tried? I don't fully understand what it is exactly that you want to do, but it sounds like you will benefit from a look at the documentation for the table class and/or the unique function.
Peter Perkins
Peter Perkins 2017 年 5 月 23 日
Have you looked at the join, innerjoin, and outerjoin functions?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeTitle についてさらに検索

タグ

タグが未入力です。

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by