MySQL queries are powerful. The key to unlocking that power is learning how to join data in different tables into a single query. Queries don't just recall data, either—they can manipulate it with calculation and aggregate fields. However, sometimes you'll need to use external tools to do more complex math.
- [Instructor] I've been asked to examine…the relationship between the types of motorcycles…involved in traffic accidents in the UK…and the severity of those accidents.…We'll be importing the data into MySQL,…just like we did in the last chapter,…and then creating a query that joins the different…data sets in order to examine…the relationships between the data.…Joining is a special method whereby a query…can link data from different sources together…temporarily, allowing you to arrange your data as needed.…Frequently, MySQL databases won't dump an entire…collection of data into a single enormous table…that contains everything.…
Aside from being inelegant, it would cause…serious performance problems.…Rather, it's standard to store different sets…of related data in different tables with a common field…or fields used to link that data together.…Within the MySQL workbench, we'll create a table…called accidents_2015, which unsurprisingly,…contains information about accidents…and vehicles_2015, which contains information…
- Strengths and weaknesses of MySQL
- Creating a database
- Joining data sets
- Integrating Python with MySQL
- Searching a database
- CRUD operations
- Performing calculations
Skill Level Appropriate for all
1. Data and MySQL in under Five Minutes
2. Create a Database
3. Join Two Datasets
4. Search a Database
Searching a database1m 51s
5. Create, Read, Update, and Delete Operations
6. Averages and Calculations
Next steps1m 1s
- 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.