Here are the queries for example:
match (v:uid) where id(v) == "1001" return v.uid.name as name1
match (v:uid) where id(v) == "1002" return v.uid.name as name2
I would like to be able to express the two SQL statements in one query, returning two columns:
name1,name2
1001,1002
Would you please suggest how to write the proper query?