title: HAWQ. join in/out rows by in/out time
body: <p>HAWQ. How to join in/out rows by in/out time?</p>
  
  <p>simple</p>
  
  <p><a href="https://i.stack.imgur.com/YDuLR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YDuLR.jpg" alt="enter image description here"></a></p>
  
  <p>thanks</p>