i have table like
CREATE TABLE meta.fk_payment1
(
id serial NOT NULL,
settlement_ref_no character varying,
order_type character varying,
fulfilment_type character varying,
seller_sku character varying,
wsn character varying,
order_id character varying,
order_item_id bigint,
....
);
i am inserting data from csv file where all column are same instead of id column
In case when csv file uploaded more then one time the data will be duplicate .
but id will not and id is primary key.
so I want to remove all duplicate row without using primary key .
I have to do this on single table