select Without using DISTINCT and ROW_NUMBER OVER(PARTITION BY .. ORDER BY)
Hello,
I have table with over couple of billion records
Without using
DISTINCT and
ROW_NUMBER OVER(PARTITION BY .. ORDER BY)
----Both taking heavy usage on the TEMP and cost
How can I select only distinct records.
Thanks,