I have a table that looks like this:
Name Job Year ImpFile ImpDate
------------------------------------------------
John Clerk 1986 Imp01 20.01.2012
James Assistant 1990 Imp01 20.01.2012
Anna Manager 1982 Imp02 26.02.2012
Sam Salesman 1985 Imp02 26.02.2012
Dean Cleaner 1985 Imp02 26.02.2012
And I need to create a view that looks something like this:
Name ImpFile/Job Year
--------------------------------
Imp01 20.01.2012
John Clerk 1986
James Assistant 1990
Imp02 26.02.2012
Anna Manager 1982
Sam Salesman 1985
Dean Cleaner 1985
Is it possible to do something like this in Microsoft SQL Server 2005? If yes, then how do I do it?