I had a below two table which has
 ID      TextID     Description
 -------------------------------
 1        2          zzzz
 1        3          kkkk
 1        4          llll
 5        2          nnnn
 TextID      TextTypeID     
 -------------------------------
 1            R1
 2            R2
 3            R3
 4            R4
I want result for the ID like below using Case statement.Please advice.
 ID      R1      R2    R3     R4
 ---------------------------------
  1      null   zzzz   kkkk  llll
 
    