Skip to main content Link Menu Expand (external link) Document Search Copy Copied


We will use the database, whose schema and data import commands are given here:

You can import this database by copying pasting the comands on that page.

Note: When using the CLI, please modify any multi-line query in the documenation to be in a single line.


You can delete node and relationship records from your tables using the DELETE clause. We currently only support deleting singleton node records, i.e., those that don’t have have any incoming or outcoming relationships. Deleting of relationship records and nodes with edges are not yet supported.

For example, the following query first creates a User (Alice, 40) node record, without inserting any relationships to that node record, andand then deletes that record

CREATE (u:User {name: 'Alice', age: 35});
MATCH (u:User) WHERE = 'Alice'