MATCH command is used with RETURN or UPDATE clause. It cannot be used alone otherwise it will give error.
Syntax:
MATCH
(
<node-name>:<label-name>
)
The MATCH command cannot be used alone to fetch data from the database otherwise it will show invalid syntax error.