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

Omit selected fields from the GROUP BY clause

$
0
0
Hello,
Is it possible for me to omit fields that are in the select statement from the group by clause at the bottom?

I have the below SQL which will eventually be a view and the stockdateandtimein and date out values in the where clause will

Viewing all articles
Browse latest Browse all 3145

Trending Articles