Snowflake Vs MS-SQL - Part 78 - Duplicate Rows Identification - Group By ALL

        



Duplicate Rows Identification – Group By ALL

If you want to identify total identical rows (i.e., all column values are the same) from a table.



MS-SQL Server 

We can achieve the above-expected result by any one of the approaches below:



In Snowflake, we can use all the above queries; however, we can use GROUP BY ALL as below. This is more beneficial when the table has so many columns; you don't need to mention all columns in the GROUP BY clause.


For more details, you can refer to the following: GROUP_BY_ALL
.


Yogesh Shinde

LinkedInProfile

<<< Back Next >>> 

Comments

Popular posts from this blog

Snowflake Vs MS-SQL - Part 36 - SPLIT_TO_TABLE

Snowflake Vs MS-SQL - Part 63 - ON Clause & Cross Join

Snowflake Vs MS-SQL - Part 33 - INITCAP