I have a vault
PIVOT ( MIN(DateId) FOR Stage IN ( [Start], [Alpha], [Beta], [Release] ) ) as p
I only need MIN for the [Start] column and Max for every other column. How can I achieve this?
Can you show the whole query? I would suggest dumping this into a temporary table (or whatever you like) and then creating another point using MAX (DateId) and just merging them together. You can also use more columns by simply creating another PIVOT http://mangalpardeshi.blogspot.com/2009/06/pivot-multiple-columns.html
Source: https://habr.com/ru/post/1758779/More articles:EF4 One-to-many mapping in an existing database without navigation - entity-frameworkQueryString for redirection! - c #Android: сохранение данных ListView при закрытии приложения - androidUpdate Android widget provided - androidWhat does the "limited library" mean in Java? - javaMime types in the Windows registry - c #Android: changing the activity of the entry point to the application will prevent the application from updating - androidxmldoc.Childnodes.item () question - c #unlock WPF tape assembly for use in VS2010 - visual-studioHelp with this algorithm - c ++All Articles