I have BQ table which has duplicates of rows with same details. I want to keep one row and wish to delete all other duplicate rows.
Example: Empno,empname, salary 1,Sam,1000 1,Sam,1000 1,Sam,1000 1,Sam,1000
My expectations:
I have BQ table which has duplicates of rows with same details. I want to keep one row and wish to delete all other duplicate rows.
Example: Empno,empname, salary 1,Sam,1000 1,Sam,1000 1,Sam,1000 1,Sam,1000
My expectations:
If the table is small we can use select distinct. But if the tables are more than 500gb . The above solution is not recommended. Because table scan going to be billed.