#1130

Log with an auto identifier

Design an event_log table where the id is assigned by the database automatically and CANNOT be set by hand. The event kind is required; the time created_at is required and defaults to the current moment. Columns: id — automatic primary key; kind; created_at.

Μόνο CREATE/ALTER/DROP — δεν χρειάζεται τελικό SELECT.

Το αποτέλεσμα του ερωτήματός σας θα εμφανιστεί εδώ

Χωρίς αρχικό σχήμα

Αυτή η άσκηση ξεκινά χωρίς πίνακες — θα τους δημιουργήσετε μέσω CREATE TABLE.