Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

SQL Server GROUP BY one column with a number of columns within the SELECT statement

$
0
0
Hello,

I have a query that I would like to just group by the (LastInteractiveDate - by day) but not the other columns.  

Below is my query

SELECT DISTINCT
         &n

Viewing all articles
Browse latest Browse all 3145

Trending Articles