I have a sql table having multiple rows and i want to merge some of his rows to be in one row, if row columns different then return 'Mixed Value' else return the column value
Example:

I want the result to be like that if i select row with id 1 and 2

and if i select row with id 1,2 and 3

Thank's in advance