I have data generated like this
RowNumber Firmware value1 value2
1 1 5 NULL
1 1 NULL NULL
1 1 NULL NULL
Any idea how to group this to get a single row using TSQL?
The output should be
RowNumber Firmware value1 value2
1 1 5 NULL
The rows with NULL values for ‘value1’ and ‘value2’ should be eliminated.
why not
In this way you eliminate the rows with NULL values for value1 and value2 and obtain only one row without using group by.