how can I do this like that please help me? : MySql -- 1.picture  is a table ,table name SatisBasligi.
      -- 2.picture is a output .
how can ı write a cod for picture
One needs to write code according to the second.


[enter image description here][1]
----------------------------------------------
[enter image description here][2]
----------------------------------------------
  [1]: https://i.stack.imgur.com/dHXn2.png
  [2]: https://i.stack.imgur.com/JJi6j.png