text: DROP DATABASE IF EXISTS employeeDB;
  
  CREATE DATABASE employeeDB;
  USE employeeDB;
  
  CREATE TABLE department (
      id INTEGER AUTO_INCREMENT PRIMARY KEY,
      name VARCHAR(30) NOT NULL
  );
  
  CREATE TABLE role (
      id INTEGER AUTO_INCREMENT PRIMARY KEY,
      department_id INTEGER,
      jobTitle VARCHAR(50) NOT NULL,
      salary DECIMAL (10, 2),
      CONSTRAINT fk_department FOREIGN KEY (department_id) REFERENCES department(id) ON DELETE CASCADE
  );
  
  CREATE TABLE employee (
      id INTEGER AUTO_INCREMENT PRIMARY KEY,
      role_id INTEGER,
      first_name VARCHAR(30) NOT NULL,
      last_name VARCHAR(30) NOT NULL,
      CONSTRAINT fk_role FOREIGN KEY (role_id) REFERENCES role(id) ON DELETE CASCADE,
      manager_id INTEGER,
      CONSTRAINT fk_manager FOREIGN KEY (manager_id) REFERENCES employee(id) ON DELETE SET NULL
  );