From the course: MySQL Database Administration
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Adding and removing columns using the MySQL Workbench UI - MySQL Tutorial
From the course: MySQL Database Administration
Adding and removing columns using the MySQL Workbench UI
- [Instructor] All right, now we're going to talk about adding and dropping columns using the Workbench UI. In addition to creating new tables which are already fully defined and have every column that they might ever need, we can also add or drop columns from existing tables. I wish that in the real world we could architect our databases so that they would have every column which the business will need eventually. In real life, that's not always how it works. It comes up a lot that there's something else that we need to be storing that we weren't initially, and we go in and we need to add another column. There's also reasons where we may need to remove a column. A major current example of that is storing personally identifiable information. That's become a major hot button for companies now. So a lot of companies that were storing certain information before have decided to remove that from their databases. And that's one example of when you might want to be dropping columns. So just…
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)
Creating a schema using the MySQL Workbench UI2m 54s
-
(Locked)
Creating a schema using SQL code4m 27s
-
(Locked)
Creating a table using the MySQL Workbench UI6m 52s
-
(Locked)
Creating a table using SQL code6m 3s
-
(Locked)
MySQL data types5m 40s
-
(Locked)
Challenge: Creating your own schema and tables2m 28s
-
(Locked)
Solution: Creating your own schema and tables12m 1s
-
(Locked)
Adding and removing columns using the MySQL Workbench UI13m 39s
-
(Locked)
Adding and removing columns with SQL code5m 4s
-
(Locked)
Challenge: Adding and removing columns1m 25s
-
(Locked)
Solution: Adding and removing columns6m 59s
-
(Locked)
Dropping schemas and tables6m 45s
-
(Locked)
Challenge: Dropping schemas and tables1m 46s
-
(Locked)
Solution: Dropping schemas and tables2m 22s
-
(Locked)
-
-
-
-
-
-