1.合并两个查询,去重复值
MATCH (n:Actor)
RETURN n.name AS name
UNION ALL MATCH (n:Movie)
RETURN n.title AS name
2.不去重复值
MATCH (n:Actor)
RETURN n.name AS name
UNION ALL MATCH (n:Movie)
RETURN n.title AS name
参考文献:
https://neo4j.com/docs/developer-manual/3.4/cypher/clauses/union/