ms sql count distinct multiple columns的相關文章
ms sql count distinct multiple columns的相關商品

group by - COUNT(DISTINCT) in multiple columns in SQL Server 2008 - Stack Overflow
瀏覽:517
日期:2025-04-23
In Oracle, it's possible to get a count of distinct values in multiple columns by using the || operator (according to this forum post, anyway): SELECT COUNT(DISTINCT ColumnA || ColumnB) FROM MyTable Is there a way to do this in SQL Server 2008? I'm trying...看更多