From the course: Database Foundations: Data Structures
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Challenge: Choosing data types
From the course: Database Foundations: Data Structures
Challenge: Choosing data types
(upbeat music) - [Instructor] We've covered a lot of information about the different options that you have when choosing the type of data that your tables will hold. Let's put what we've learned into practice with the first challenge for the course. I'd like you to create a table in the Two Trees database to hold information about the company's employees. You'll need separate columns to store the following information, the employees first and last names, phone number, the cubicle or office number that they're assigned to, their hire date, and their annual salary. Your goal is to think through the kinds of information that needs to be stored and choose an appropriate data type for each column. Once you've created the table, insert a new row for the first employee. The specific values that you use isn't important as long as they represent the kinds of data that you're likely to come across in the real world. Verify that each…
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
-
-
-
Data integrity concepts4m 52s
-
(Locked)
The role of data types3m 55s
-
(Locked)
Numeric data types6m 21s
-
(Locked)
Character data types6m 33s
-
Date and time data types6m 24s
-
(Locked)
Additional common types5m 34s
-
(Locked)
Challenge: Choosing data types1m 16s
-
(Locked)
Solution: Choosing data types7m 21s
-
-
-
-
-
-
-
-