title: SQL merge rows as columns
body: <p>I have some findings with lab values. Is it possible to create an sql statement, which results dynamically in the following? I would like to create a view with every finding (res/printdate) as one/two columns.</p>
  <p>Thanks in advance.</p>
  <p><a href="https://i.stack.imgur.com/BEOIm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BEOIm.png" alt="enter image description here" /></a></p>