From the course: Advanced MySQL Database Administration
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Overview of create, insert, and delete - MySQL Tutorial
From the course: Advanced MySQL Database Administration
Overview of create, insert, and delete
- [Instructor] Alright, so this section is all about inserting data into the database. But before we get into large batch inserts, we're going to do a review of create, insert, and delete. These are concepts that we covered in the beginner DBA course, but they're so important and fundamental that we wanted to do a review of them here. First, we'll review how to create a schema to get you started. Then we will review using CREATE TABLE to add a table to that schema. Next, we'll review the INSERT statement used to add records to tables, and then finally, we'll review the DELETE statement, which you'll use when you want to remove records from your tables. Again, it's really important to note that this is review. If you've already taken the beginner course and you feel really comfortable with CREATE, INSERT, and DELETE, then you can just go ahead and skip to the lecture on importing data from a file. If any of these are at all shaky for you, or if you didn't take the beginner course and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Overview of create, insert, and delete1m 48s
-
(Locked)
Review: Creating a schema3m 24s
-
(Locked)
Review: Creating a table7m 7s
-
Review: Inserting records into a table10m 19s
-
(Locked)
Review: Deleting records10m 40s
-
(Locked)
Importing data from a file10m 21s
-
(Locked)
Challenge: Importing order item data1m 11s
-
(Locked)
Solution: Importing order item data10m 56s
-
(Locked)
Challenge: Importing refund data1m 32s
-
(Locked)
Solution: Importing refund data5m 1s
-
(Locked)
Challenge: Deleting records1m 36s
-
(Locked)
Solution: Deleting records4m 40s
-
(Locked)
Challenge: Import remaining 2012 data45s
-
(Locked)
Solution: Import remaining 2012 data5m 37s
-
(Locked)
Bonus: Load data4m 44s
-
(Locked)
-
-
-
-
-
-
-
-
-
-