I need to create to query using the data shown in the image below. I need to sum the Data field based on the ID column.
Expected Result:
I need to get distinct ID field and sum the Data column
Note: location and Trc are the same for particular ID.
Thanks in advance.

