如何为重复的选择列表添加标记"Y" [英] How to put Flag 'Y' for Duplicate select list
本文介绍了如何为重复的选择列表添加标记"Y"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的先生,
如何将重复记录的标记"Y"放入选择的查询列表中.
(示例)
阳光国际(FZE)8924 5575113 06沙迦
阳光国际(FZE)8924 5575113 06沙迦
我的预期输出是:
阳光国际(FZE)8924 5575113 06 Y
阳光国际(FZE)8924 5575113 06 Y
或其他任何方式都没问题.
Dear Sir,
How to put Flag ''Y'' for duplicate records in a select Query list.
(example)
Sunshine International (FZE) 8924 5575113 06 Sharjah
Sunshine International (FZE) 8924 5575113 06 Sharjah
My expected output is:
Sunshine International (FZE) 8924 5575113 06 Y
Sunshine International (FZE) 8924 5575113 06 Y
or any other way no problem.
推荐答案
这可能会有所帮助:
http://blog.sqlauthority.com/2007/03/01 /sql-server-delete-duplicate-records-rows/ [ http://forums.databasejournal.com/showthread.php?22924-可以对我们进行标记吗?行 [ ^ ]
this might help:
http://blog.sqlauthority.com/2007/03/01/sql-server-delete-duplicate-records-rows/[^]
http://forums.databasejournal.com/showthread.php?22924-can-we-somehow-mark-duplicate-rows[^]
这篇关于如何为重复的选择列表添加标记"Y"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文