I'm using SQL Server 2012. For a project I want to flatten a table, but i need some help. My table.
| ApplicationName | Name | Value | CreatedOn
| Contoso | Description | An example website | 04-04-2014
| Contoso | Description | Nothing | 02-04-2014
| Contoso | Keywords | Contoso, About, Company | 04-04-2014
| Contoso | Keywords | Contoso, Company | 02-04-2014
I want to get the last modification record from a Name by Application Name. The result i want.
| ApplicationName | Description | Keywords
| Contoso | An example website | Contoso, About, Company
I don't like temp tables. Who knows how to do this?
Thanks a lot.
Jordy