SQL Server : voiding records with message
I have a TableA (ID int, [set] int,[status] char(20), message char(20))

    ID set status message
    1   1
    2   1  MATCH
    3   3
    4   3  MATCH
    5   2
    6   2

Now I want to do two things here:

set status = 'void' where it is not 'match' in the same set. so ID with 1 and 3 will get the void.

 set message = "For ID = xx" where xx is ID. set the message where it is void also pointing to its corresponding matched ID. 

Expected result:

    ID set status message
    1   1  VOID   For ID = 2
    2   1  MATCH  NULL
    3   3  VOID   For ID = 4
    4   3  MATCH  NULL
    5   2  NULL   NULL
    6   2  NULL   NULL

Thanks !!
SQL Server : voiding records with message
===

I have a TableA (ID int, [set] int,[status] char(20), message char(20))

    ID set status message
    1   1
    2   1  MATCH
    3   3
    4   3  MATCH
    5   2
    6   2

Now I want to do two things here:

set status = 'void' where it is not 'match' in the same set. so ID with 1 and 3 will get the void.

 set message = "For ID = xx" where xx is ID. set the message where it is void also pointing to its corresponding matched ID. 

Expected result:

    ID set status message
    1   1  VOID   For ID = 2
    2   1  MATCH  NULL
    3   3  VOID   For ID = 4
    4   3  MATCH  NULL
    5   2  NULL   NULL
    6   2  NULL   NULL

Thanks !!