Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How to not repeat a value in the column multiple times

$
0
0

Hi my query is just to get three fields NAME,POLICYID and AMNT. One NAME can have multiple values but in the results dataset i want the name to appear only just once.But i want MARTIN M to appear just once. Please need help.

Thanks

Currently the data set is like:

NAMEPOLICYIDAMNT
MARTIN M12548200
MARTIN M25896584
MARTIN M15698124
MARTIN M45674147
MARTIN M13648

159


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>