Join William Lyon for an in-depth discussion in this video Finalize the database query, part of Database Clinic: Neo4J.
- [Instructor] Let's revisit the query we've written so far.…I'll click on the query here to bring it up…into the query editor,…and remove the profile keyword,…since we no longer need to profile the query.…So, we've solved half of the problem.…We have population prediction by county,…but only where the gender is female.…Let's finish this query to show us the population prediction…for each county, broken down by gender.…Since we're computing the female population prediction…by county already, let's just add a step to compute…the male population prediction at the county level,…and return both values together.…
To do that, we'll use a with statement.…You can think of with as similar to a Unix pipe,…where we specify the values we want to bring along…for the rest of the query.…We can perform filters and aggregations…in our with statement.…In this case, we'll just change the return to a with,…and we'll alias our population calculation…to female, the value that we want…for the header of our table.…Because we don't specify P in our with statement,…
- Strengths and weaknesses of Neo4j
- Data modeling
- Creating a database
- Joining data sets
- Modeling data for joining data sets
- Searching a database
- CRUD operations
- Performing calculations
Skill Level Intermediate
1. Neo4j in Five Minutes
A brief overview of Neo4j3m 23s
2. Create a Database
3. Join Two Datasets
4. Search a Database
5. Create, Read, Update, and Delete Operations
6. Averages and Calculations
Next steps1m 44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.