Need help in Preparing Query
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
puja123p
6 - Meteoroid
‎12-24-2024
02:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I have the following sample data where the battery no. is coming as duplicate.
I need to find the numbers where the Battery are duplicates. As in this case, there are 4 duplicates interlinked, all the 4 numbers should come in the Duplicates column. Example of the output data is attached in 2nd Table.
May please help in the query.
Thanks
Number | Battery number |
AD626AR16N1H20260 | TB2HN1919391,TB2HN1X19389 |
AD626AR13N1H21849 | TB2HN1X19389,TB2HN1119227 |
AD626AR17N1H21594 | TB2HN1520008,TB2HN1X19238 |
AD626AR1XN1H20133 | TB2HN1119227,TB2HN1X19238 |
Output Data
Number | Battery number | Duplicate |
AD626AR16N1H20260 | TB2HN1919391,TB2HN1X19389 | AD626AR16N1H20260, AD626AR13N1H21849, AD626AR17N1H21594, AD626AR1XN1H20133 |
AD626AR13N1H21849 | TB2HN1X19389,TB2HN1119227 | AD626AR16N1H20260, AD626AR13N1H21849, AD626AR17N1H21594, AD626AR1XN1H20133 |
AD626AR17N1H21594 | TB2HN1520008,TB2HN1X19238 | AD626AR16N1H20260, AD626AR13N1H21849, AD626AR17N1H21594, AD626AR1XN1H20133 |
AD626AR1XN1H20133 | TB2HN1119227,TB2HN1X19238 | AD626AR16N1H20260, AD626AR13N1H21849, AD626AR17N1H21594, AD626AR1XN1H20133 |
Labels:
- Labels:
- Workflow
1 REPLY 1
binuacs
21 - Polaris
‎12-24-2024
03:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@puja123p one way of doing this
