text: CREATE DATABASE emptracker_db;
  
  USE emptracker_db;
  
  CREATE TABLE department (
      id INT AUTO_INCREMENT,
      name VARCHAR(30) NOT NULL,
      PRIMARY KEY (id)
  );
  
  CREATE TABLE role (
      id INT AUTO_INCREMENT,
      title VARCHAR(30) NOT NULL,
      salary DECIMAL NOT NULL,
      department_id INT,
      PRIMARY KEY (id),
      FOREIGN KEY (department_id) REFERENCES department(id)
  );
  
  CREATE TABLE employee (
      id INT AUTO_INCREMENT,
      first_name VARCHAR(30) NOT NULL,
      last_name VARCHAR(30) NOT NULL,
      role_id INT,
      manager_name VARCHAR(30) NULL,
      PRIMARY KEY (id),
      FOREIGN KEY (role_id) REFERENCES role(id)
  );