Example Database
Let's explore the database example used in this course.
We'll cover the following
Most of the topics in this course are illustrated using a database for a hypothetical bug-tracking application. The DDL and the ERD for the mentioned application are given below.
Data Definition Language for the database
The following Data Definition Language shows how tables are defined. In some cases, choices are made for the sake of examples later in the course, so they might not always be the choices one would make in a real-world application. Mostly, only standard SQL is used, so the example is applicable to any brand of the database. Some MySQL data types also appear, such as SERIAL
and BIGINT
. The DDL for the database can be seen below. We can also copy and/or download the code.
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy