Seven Databases in Seven Weeks, Second Edition:Page 186, incorrect parameters in where clause

Now let’s see all of the people that Alice is friends with, except let’s return
only the name property of those nodes:
$ MATCH (p:Person {name: “Alice”})–>(other: Person)
RETURN other.name;
That should result in two returned values: Patty and Tom .

In the text above we should actually be looking for friends of Patty I think, because at this moment we have only created relationships from Patty to Tom and from Patty to Alice, so if we try finding friends of Alice, we’ll get 0 at this moment.

1 Like