Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Re: Remove Duplicate products on HANA

$
0
0

Hi Siddhartha,

 

As Krishna mentioned, you can use distinct in your case.

 

SELECT DISTINCT "Company_Name" FROM "Schema"."Table";

 

This should work fine to delete duplicates.

 

If your combining two datasets, you can use UNION or UNION ALL

 

UNION - return only distinct values i.e remove duplicates

UNION ALL - will give you all the info with duplicates.

 

Regards

Avinash Raju


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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