Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. You must create a constraint so that each node with the Person label must have a unique random ID type UUID (as we learned

image text in transcribed

1. You must create a constraint so that each node with the Person label must have a unique random ID type UUID (as we learned in class). If there is an ID file named id, enter it in the node as well. You must also create a constraint so that if there is a field named fullname in two nodes with a Person label So the value cannot be the same. New nodes for Mark Dolev Alexa Levi and in a separate query contact the two. Think about what is needed nx 2 Be the context according to the data from the original file. Find all the people whose total salary is less than 40,000 and add to the cumulative value 10,000..3 Find all the people whose children number is greater than 1 and update them so that they will be in friendship with each other .4 (1.e. parents of more than one child are friends with other parents parents of more than one child A. When creating friendships between two nodes the array of friends should be updated by adding the new member (if any) And exists) or create to such an array and add the member if it did not exist. Think about how a merge command will crop To assist you. Show the total number of children and the names of all the children who appear. Note that in the original data B. there are people with the numOfChildren field but no array with the children's names and the opposite is true. 5. Find all people whose age is one of the following: 40,60,30 using the UNWIND command as That we learned at home A. Add a new field called "even" and its value is true. B. Then introduce the people you found in ascending order of ages Successfully, 1. You must create a constraint so that each node with the Person label must have a unique random ID type UUID (as we learned in class). If there is an ID file named id, enter it in the node as well. You must also create a constraint so that if there is a field named fullname in two nodes with a Person label So the value cannot be the same. New nodes for Mark Dolev Alexa Levi and in a separate query contact the two. Think about what is needed nx 2 Be the context according to the data from the original file. Find all the people whose total salary is less than 40,000 and add to the cumulative value 10,000..3 Find all the people whose children number is greater than 1 and update them so that they will be in friendship with each other .4 (1.e. parents of more than one child are friends with other parents parents of more than one child A. When creating friendships between two nodes the array of friends should be updated by adding the new member (if any) And exists) or create to such an array and add the member if it did not exist. Think about how a merge command will crop To assist you. Show the total number of children and the names of all the children who appear. Note that in the original data B. there are people with the numOfChildren field but no array with the children's names and the opposite is true. 5. Find all people whose age is one of the following: 40,60,30 using the UNWIND command as That we learned at home A. Add a new field called "even" and its value is true. B. Then introduce the people you found in ascending order of ages Successfully

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer Accounting With QuickBooks Online

Authors: Donna Kay

2nd Edition

1260888061, 9781260888065

More Books

Students also viewed these Accounting questions