Created
August 30, 2023 10:46
-
-
Save humorless/8e913382b0f083e3677a76c6c4db7b7f to your computer and use it in GitHub Desktop.
My practice of Cypher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Find People Born in the Fifties | |
Using the sandbox on the right, write and execute a query to return people born in the 1950’s (1950 - 1959) that are both Actors and Directors. | |
How many Person nodes are returned? | |
``` | |
MATCH(p:Actor) | |
WHERE p:Director AND date('1950-01-01') <= date(p.born) < date('1959-12-31') | |
RETURN count(p) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment