works well, I would avoid repeating data, perhaps we need a grouping?
Kevin Cross
If the data was not repeating before pratima_mcs's suggestion that simply means you need to find a more unique JOIN criteria to ARTICOLI. What column(s) in that table uniquely match it to a row in CARICOTCDOC? If the data was repeating before, then you may be able to use GROUP BY or SELECT DISTINCT. With the former, you will need to determine what to do with other values, i.e., how to aggregate them. It is always best to find why rows are duplicated in the first place to avoid unnecessary GROUP BY/DISTINCT usage.
works well, I would avoid repeating data, perhaps we need a grouping?