text: DROP DATABASE IF EXISTS employee_trackerDB;
  
  CREATE DATABASE employee_trackerDB;
  
  USE employee_trackerDB;
  
  CREATE TABLE departments
  (
    id INT
    AUTO_INCREMENT NOT NULL,
    department VARCHAR(30),
    PRIMARY KEY(id)
  );
  
  CREATE TABLE roles (
    id INT AUTO_INCREMENT NOT NULL,
    title VARCHAR(30),
    salary DECIMAL(10, 2),
    department_id INT,
    PRIMARY KEY (id)
  );
  
  CREATE TABLE employees (
    id INT AUTO_INCREMENT NOT NULL,
    first_name VARCHAR(30) NOT NULL,
    last_name VARCHAR(30) NOT NULL,
    role_id INT NOT NULL,
    manager_id INT,
    manager VARCHAR(30),
    PRIMARY KEY (id)
  );
  
  
  
  
  
  
  
  