Additional insights can be gained by making calculations based on the data captured in a database. In this video, instructors are challenged to use existing information to make projections for the future.
- New programmers often make the mistake…of pulling a selection from a database,…then performing calculations in an external language.…Here's an example of this mistake with PHP and MySQL.…Here, we're connecting to a MySQL database in PHP.…MySQL returns a full table of IDs, first names,…and last names.…Then in PHP, we could go through each row of…that data and calculate some values based on each row,…an average or perhaps a count of unique entries,…but in the case of MySQL, it's much more efficient…to perform that operation inside the database.…
Here's an example with MySQL.…All database languages provide rudimentary…data aggregation commands, such as sum,…average, or count.…In this challenge, each instructor is being asked…to forecast the educational demand for California…up to the year 2060.…We will provide them with two data sets.…The California Educational Attainment and Personal Income…will provide education information,…and California Population Projection by County,…Age, Gender and Ethnicity will provide population…
- Strengths and weaknesses of SQLite
- Creating a database
- Joining data sets
- Calculations with SQLite and Python
- Searching a database
- Subqueries and queries in SQLite
- CRUD operations in SQLite with R
Skill Level Intermediate
1. SQLite in Five Minutes
2. Create a Database
3. Join Two Datasets
4. Search a Database
5. Create, Read, Update, and Delete Operations
6. Averages and Calculations
- 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.