×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which of the following is the correct syntax to create a relationship?

32. Which of the following is the correct syntax to create a relationship?

  1. CREATE (node1)-(:RelationshipType)->(node2)
  2. CREATE (node1)-([:RelationshipType])->(node2)
  3. CREATE (node1)-(:RelationshipType);>(node2)
  4. CREATE (node1)-[:RelationshipType]->(node2)

Answer: D) CREATE (node1)-[:RelationshipType]->(node2)

Explanation:

CREATE (node1)-[:RelationshipType]->(node2), is the correct syntax.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.