Create a new database to store your Shakespeare data. Use the MySQL workbench to create tables, and learn about autoincrementing and primary key columns.
- Before we perform any CRUD operations,…we need to create the database and table structure…that we'll be using throughout this challenge.…Let's start at the workbench.…The first thing we need to do is create our database.…So I'll right click under "SCHEMAS",…then click "Create Schema",…and we will give our database the name,…"shakespeare".…Click "Apply", and then "Apply" again,…to create the database.…We can now see our Shakespeare Database under SCHEMAS.…I will double click on it,…and it's bold so now we know that it's the…default database that queries will be run against.…
Of course it's empty,…so now we need to create a table that will contain…our play data.…So I will open up a new SQL tab,…and we'll "CREATE TABLE amnd" for A Midsummer Night's Dream.…The columns we want are "line_number", as an integer.…This will be our unique value,…so we will need it to be "NOT NULL",…and we also need it to "AUTO_INCREMENT"…so that it's value will be increased for every…row that's added to the database.…We also need the character name as "TEXT",…
- 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.