Loved by learners at thousands of companies
You have experience working with databases or, perhaps, you have heard how useful databases can be for organizing your data. Have you ever wanted to create and manage your own databases but thought such knowledge is reserved for database administrators? Well, it is not! This course teaches you the skills and knowledge necessary to create and manage your own PostgreSQL databases. Topics that will be covered include the structure of PostgreSQL databases, PostgreSQL datatypes, and normalization of databases to efficiently store data and avoid data loss. These topics will be taught using data from the U.S. Small Business Administration (SBA) to guide the lessons and provide context for the concepts covered in the course.
Structure of PostgreSQL DatabasesFree
In this chapter, you will be introduced to the fundamental objects in a PostgreSQL database: the database, tables, and schemas. After completing this chapter, you will know how to issue commands to create all three types of objects, and understand how each fits into the hierarchy of PostgreSQL objects.
PostgreSQL Data Types
In this chapter, you will be introduced to text, numeric, temporal, and boolean data types in PostgreSQL. After completing this chapter, you will be able to define the appropriate data types for table columns based on the data values to be stored.Introduction to PostgreSQL data types50 xpMatching data representations and categories100 xpChoosing data types at table creation100 xpDefining text columns50 xpMatching text types100 xpSBA appeals table100 xpDefining numeric data columns50 xpUsing integer types100 xpSupporting an SBA marketing campaign100 xpDefining boolean and temporal data columns50 xpRevisiting the appeals table100 xpBoolean defaults100 xpChoosing data types representations100 xp
In this chapter, database normalization is introduced. Database normalization maintains data integrity and reduces data duplication. 1st, 2nd, and 3rd Normal Form are defined as steps in the process of normalizing a database. Examples to clarify concepts are provided throughout the chapter.The importance of data normalization50 xpReasons for normalizing databases50 xpReducing data redundancy100 xpImproving object-to-data mapping100 xp1st Normal Form50 xpSimplifying database records100 xpToo much normalization100 xp2nd Normal Form50 xpDesigning a course table100 xpStreamlining meal options100 xp3rd Normal Form50 xpIdentifying transitive dependencies50 xpTable definitions for 3rd Normal Form100 xpWorking through the normalization process100 xp
Access Control in PostgreSQL
In this chapter, the topic of access control in PostgreSQL is introduced. Access control is presented as granting and revoking privileges to users and groups on database objects. Using these tools, a database and its objects can be protected from unauthorized access, helping to ensure the integrity of the stored data.Introduction to access control50 xpCreating a new user100 xpUpdating user passwords100 xpPostgreSQL access privileges50 xpGranting user privileges100 xpUsing the granted privileges100 xpHierarchical access control50 xpWorking with users and groups100 xpSchema privileges100 xpRemoving access50 xpRemoving user privileges100 xpRescinding group membership100 xpImplementing access control for teams100 xpCourse wrap-up50 xp
Darryl Reeves Ph.D
Industry Assistant Professor, NYU Tandon School of Engineering
Darryl is a computational scientist with expertise in utilizing data-driven approaches to solve complex problems in both academic and business settings. He worked for a number of years in a variety of technical roles including software development and technology-based client services mostly within start-up organizations in the finance and online advertising industries. He has a love for technology and education and enjoys solving interesting problems across diverse domains.