From the course: Database Foundations: Intro to Databases
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Create tables
From the course: Database Foundations: Intro to Databases
Create tables
- [Instructor] Let's start building the home for some of our data. In the Chapter 4 folder of the Exercise Files is this spreadsheet called Two Trees Olive Oil products. It's an Excel file, but if you don't have Excel or can't otherwise open this file, that's just fine. You're not going to need it to follow along. I just wanted to take a quick look at the kinds of data that I want to store in our database. In this PRODUCTS spreadsheet, we have a unique product code stored in the column called SKU. We also have the name of the product. We have the size in ounces and the price in US dollars. If I scroll down through the spreadsheet, you're going to see that there's three different colored sections. These correspond to different product categories. The green section at the top represents olive oils. The purple section in the middle contains flavor-infused oils. And the yellow section at the bottom contains bath and beauty…
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)
Structured Query Language4m 9s
-
(Locked)
Organize a database with schemas6m 4s
-
(Locked)
Table columns3m 41s
-
(Locked)
Create tables8m 43s
-
(Locked)
Alter tables4m 16s
-
(Locked)
Reserved keywords3m 1s
-
(Locked)
Challenge: Create a table43s
-
(Locked)
Solution: Create a table4m 35s
-
(Locked)
Solution: Tables and data types2m 48s
-
(Locked)
-
-
-
-