Space Race: Difference between revisions
From NoSQLZoo
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Learn how to use neo4j using data from the space race. | |||
== Learn how to use neo4j using data from the space race. == | |||
<div class="q nonum" data-lang="neo4j"> | <div class="q nonum" data-lang="neo4j"> | ||
Use <code>MATCH</code> to show the roles of Hades rather than Apollo | |||
<pre class="def"><nowiki>MATCH(n:God{name:'Apollo'}) RETURN n.roles;</nowiki></pre> | <p class='strong'>Show Hades instead of Apollo<p> | ||
<pre class="def"><nowiki>MATCH(n:God{name:'Apollo'}) RETURN n.roles;</nowiki> | |||
</pre> | |||
<pre class="ans"><nowiki>MATCH(n:God{name:'Hades'}) RETURN n.roles; </nowiki> | |||
</pre> | |||
</div> | </div> | ||
{{Acknowledgements}} | {{Acknowledgements}} |
Revision as of 13:49, 13 October 2019
Learn how to use neo4j using data from the space race.
Use MATCH
to show the roles of Hades rather than Apollo
Show Hades instead of Apollo
MATCH(n:God{name:'Apollo'}) RETURN n.roles;
MATCH(n:God{name:'Hades'}) RETURN n.roles;
Acknowledgements
NoSQLZoo is made possible by the following open-source technologies: