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.
Μόνο CREATE/ALTER/DROP — δεν χρειάζεται τελικό SELECT.
Συνδεθείτε για να δείτε το ιστορικό υποβολών
ΣύνδεσηΣυνδεθείτε για να χρησιμοποιήσετε τον AI Mentor
ΣύνδεσηΧωρίς αρχικό σχήμα
Αυτή η άσκηση ξεκινά χωρίς πίνακες — θα τους δημιουργήσετε μέσω CREATE TABLE.