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

How to GROUP BY in one condition and simply SELECT in another in one go?

$
0
0
I need to return payments records from a same table, which must be organised as following:
1) All Credit Cards payments must be grouped by 
2) All other types of payments should be presented as they are in the payments table.
I simply ach

Viewing all articles
Browse latest Browse all 3145

Trending Articles