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.
Apenas CREATE/ALTER/DROP — não é preciso um SELECT no final.
Entre para ver seu histórico de envios
EntrarEntre para usar o AI Mentor
EntrarSem esquema inicial
Esta tarefa não inclui tabelas iniciais: você vai criá-las com CREATE TABLE.