item_no parent item_no_child item_name text
123 3 xxx the item is resistant to water
123 5 yyy The item is resistant to heat
123 6 zzz The item is ....
我将父母item_no作为输入并检索子项目号。现在我必须检查每个子项目的文本,如果他们有相同的文本,我不应该显示item_name否则我应该。抑制后续行的重复值
查看LAG功能 – Randy 2014-10-17 12:48:55