Difference between revisions of "Space Race"
From NoSQLZoo
ChrisHouston (talk | contribs) |
ChrisHouston (talk | contribs) |
||
Line 5: | Line 5: | ||
Use <code>MATCH</code> to show nodes that are Countries rather than Astronauts | Use <code>MATCH</code> to show nodes that are Countries rather than Astronauts | ||
<p class='strong'>Show Institutions instead of Astronauts<p> | <p class='strong'>Show Institutions instead of Astronauts<p> | ||
− | <pre class="def"><nowiki>MATCH(n:Astronauts) RETURN | + | <pre class="def"><nowiki>MATCH(n:Astronauts) RETURN *;</nowiki> |
</pre> | </pre> | ||
− | <pre class="ans"><nowiki>MATCH(n:Institutions) RETURN | + | <pre class="ans"><nowiki>MATCH(n:Institutions) RETURN *; </nowiki> |
</pre> | </pre> | ||
</div> | </div> | ||
{{Acknowledgements}} | {{Acknowledgements}} |
Revision as of 10:30, 22 November 2019
Learn how to use Neo4j using data from the Space Race.
Use MATCH
to show nodes that are Countries rather than Astronauts
Show Institutions instead of Astronauts
MATCH(n:Astronauts) RETURN *;
MATCH(n:Institutions) RETURN *;
Acknowledgements
NoSQLZoo is made possible by the following open-source technologies: