ASKER
SELECT col1,
MAX(col2) col2,
MAX(col3) col3,
MAX(col4) col4,
MAX(col5) col5,
MAX(col6) col6,
MAX(col7) col7
FROM your_table
GROUP BY col1;
ASKER
Microsoft SQL Server 2008 is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning. Major improvements include the Always On technologies and support for unstructured data types.
TRUSTED BY
select MAX(col1) , MAX(col2), MAX(col3), MAX(col4), MAX(col5) ,MAX(col6) ,MAX(col7)