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.
Doar CREATE/ALTER/DROP — nu este nevoie de un SELECT la final.
Conectează-te pentru a vedea istoricul soluțiilor trimise
Conectează-teConectează-te pentru a folosi Mentorul AI
Conectează-teFără schemă inițială
Această problemă începe fără tabele — le vei crea prin CREATE TABLE.