Introduction
Text information
Boolean
Date and time
Summary

Instruction

Okay. Now that you know a few column types, let's check if you remember how ERDs work.

Exercise

Peter developed a slightly more sophisticated version of the table user_account and provided us with a simple ERD. Based on the diagram below, create the proper table.

The user account table

Stuck? Here's a hint!

Type

CREATE TABLE user_account (
    first_name varchar(32),
    last_name varchar(32),
    nickname varchar(24),
    color_eyes varchar(10),
    color_hair varchar(10),
    description clob
);

Console

Code editor

Result

TableConsole