I'm working with SQL Server 2012, my table looks like this:
Customer Status StatusType
----------------------------------------
3 Ok personalInfo
3 Pending FinancialInfo
3 NeedUpdate CompanyInfo
To get the result here, I need a SQL query:
Customer PersonalInfo FinancialInfo CompanyInfo
---------------------------------------------------------
3 Ok Pending NeedUpdate