Skip to content

Instantly share code, notes, and snippets.

@mattdeboard
Created June 8, 2014 20:26
Show Gist options
  • Select an option

  • Save mattdeboard/34ac2d16eadf221a2db9 to your computer and use it in GitHub Desktop.

Select an option

Save mattdeboard/34ac2d16eadf221a2db9 to your computer and use it in GitHub Desktop.
MATCH c1, c2
WHERE c1.name = "Albuquerque" AND c2.name = "Austin"
RETURN c1.name, c2.name
MATCH (c1 {name: "Albuquerque"}), (c2 {name: "Austin"})
RETURN c1.name, c2.name
SELECT city.name
FROM cities
WHERE city.name IN ('Albuquerque', 'Austin')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment