cyhper combine two columns into a single
<p>I couldn't find a similar post, so if you already know one or if my question is not the proper one, please let me know.</p>

<p>I have this query</p>

<pre><code>MATCH
  (t:Taxi {name:'Taxi1813'})&lt;-[:ASSIGNED]-(u2:User)-[rd2:DROP_OFF]-&gt;
  (g2:Grid)-[r:TO*1..2]-(g:Grid)&lt;-[rd:DROP_OFF]-(u:User)-[:ASSIGNED]-&gt;(t)
WHERE ID(u2) &lt; ID(u) AND rd2.time &gt;= '04:38' AND rd2.time &lt;= '04:42'
WITH DISTINCT u2, g2, u, g, rd2, rd
MATCH p=shortestPath((g2)-[r:TO*1..2]-(g))
WITH rd2, rd,u2, g2, u, g, p, REDUCE(totalTime = 0, x IN RELATIONSHIPS(p) | totalTime + x.time) AS totalTime
WHERE totalTime &lt;= 4
RETURN u2.name, u.name
</code></pre>

<p>So at the end i got two columns</p>

<pre><code>u2.name  u.name
User179  UserTest
User177  User179
</code></pre>

<p>Is there is a way or function to merge both columns into a single one and remove duplicates</p>

<pre><code>Users
User179
User177
UserTest
</code></pre>

<p>Any suggestions? Thank you</p>