I have a table. There are 2 columns. "Source" and "Destination"
| Source | Destination |
|---|---|
| ABC | DEF |
| DEF | ABC |
Now there are 2 results when query them by SELECT Source, Destinaton FROM dbo.Pakete GROUP BY Source, Destinaton;
But I want them to count as one. Like a cross combination from ABC and DEF which exist 2 times!
Example:
| Source | Destination | Count |
|---|---|---|
| ABC | DEF | 2 |
Is there any query solution in Microsoft SQL Query Language?
Thanks!
Severin!