Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A complex query syntax
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008 R2
OS:
Windows Server 2012 R2
Miscellaneous
Thread ID:
01643914
Message ID:
01643932
Views:
35
>>>I would try to get Reference, Min Date and Max Date in separate CTE and JOIN back to PIVOT results
>
>>Very Good Idea
>>
>>Thanks, I will use it as Option B
>
>it is that I would love to have 1 single record per reference, and doing it like that, will give me more than one record per reference

You are doing it incorrectly if you get more than 1 record per Reference
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform