text: DROP DATABASE IF EXISTS employeeDB;
  
  CREATE database employeeDB;
  
  USE employeeDB;
  
  CREATE TABLE department (
    id INTEGER NOT NULL identity PRIMARY KEY,
    name VARCHAR(30)
  );
  
  CREATE TABLE role (
    id INTEGER NOT NULL identity PRIMARY KEY,
    position VARCHAR(30),
    salary DECIMAL,
    department_id INTEGER,
    FOREIGN KEY (department_id) REFERENCES department(id)
  );
  
  CREATE TABLE employee (
    id INTEGER NOT NULL identity PRIMARY KEY,
    first_name VARCHAR(30),
    last_name VARCHAR(30),
    role_id INTEGER,
    manager_id INTEGER,
    FOREIGN KEY (role_id) REFERENCES role(id),
    FOREIGN KEY (manager_id) REFERENCES role(id)
  );
  