I have the following structure : http://sqlfiddle.com/#!9/c816ef/1
How can I have the following result :
Result
---------------