#1129

Employee hierarchy

Design an employees table: an id, a name and a manager. The manager is a reference to another employee in the same table (the director has none). Columns: id — primary key; name — required; manager_id — references employees.

Pelkkä CREATE/ALTER/DROP — lopussa ei tarvita SELECT-lausetta.

Kyselysi tulos näkyy tässä

Ei aloitusskeemaa

Tämä tehtävä alkaa ilman tauluja — luot ne CREATE TABLE -komennolla.