O'Reilly logo

OCA Oracle Database 11g: SQL Fundamentals I: A Real-World Certification Guide by Steve Ries

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we've brought the key concepts of an RDBMS together with the power of SQL. Using Data Definition Language (DDL), we've learned to create tables with different datatypes that specify the kinds of data we wish to store. We've enforced business rules with different types of database constraints, including primary and foreign keys, unique keys, not nulls, and check constraints. Finally, we brought this knowledge into the real world by applying constraints to our Companylink tables, as well as creating new ones.

Certification objectives covered

  • Categorize the main database objects
  • Review the table structure
  • List the datatypes that are available for columns
  • Create a simple table
  • Explain how constraints are created at the time of table ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required