更新具有不同值的多行,但有一个条件

发布于 2025-02-11 12:52:12 字数 799 浏览 1 评论 0原文

以下是包含存储数据的表,并由order_id识别。

order_iderp_idserial_no
1234567ml456gnull
1234567ml456gnull
1234567ml456gnull

在表中您可以看到order_id and erp_id均相同。现在,我有一个文件,其中包括一组订单_id和erp_id的集合,以及serial_no列的数据在瞬间为无效,但需要如下表填充。

order_iderp_idserial_no
1234567ML456G12345678952
1234567ML456G75685212542
1234567ML4567 ML456G56821236254

Below is a table which includes data of store and are identified by order_id.

order_iderp_idSerial_No
1234567ML456Gnull
1234567ML456Gnull
1234567ML456Gnull

In the table you can see order_id and erp_id both are same. Now I have a file which includes set of order_id's and erp_id's and data for serial_no column is null at the moments but need to be filled as below table.

order_iderp_idSerial_No
1234567ML456G12345678952
1234567ML456G75685212542
1234567ML456G56821236254

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

辞取 2025-02-18 12:52:12

我通过在Excel中导出数据并生成辅助列,然后Vookup来更新所需的列来找到解决方案。
谢谢大家:)

I found a solution by exporting a data in excel and generating a helper column and then vlookup to update the desired column.
Thanks All :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文