Introduction
Boolean
Date and time
Summary
41. Summary - Exercise 2

Instruction

Okay, that was easy! Let's try something a tiny bit more difficult.

Exercise

Peter introduced a new option on his website. Users can now meet for first dates using a special date planner. Use the ERD diagram below and create a table which will help organize the dates.

The first_date table

Stuck? Here's a hint!

Type

CREATE TABLE first_date (
    code char(8),
    user1 int,
    user2 int,
    start timestamp,
    place varchar(32)
);

Console

Code editor

Result

TableConsole