The output of my actual mysql query look like this:
name type desc timestamp
xyz start desc1 2018-07-24 09:03:15
xyz end desc1 2018-07-24 10:31:57
xyz start desc2 2018-07-24 10:33:16
xyz end desc2 2018-07-24 10:53:27
zyx start desc1 2018-07-24 10:09:19
zyx end desc1 2018-07-24 10:24:34
I would like to merge start and end for each name and desc into one row. Something like this:
name desc start(timestamp) end(timestamp)
xyz desc1 2018-07-24 09:03:15 2018-07-24 10:31:57
xyz desc2 2018-07-24 10:33:16 2018-07-24 10:53:27
I'm not a big expert in mysql so maybe someone can help me
xxx.