[sql] company

Viewer

  1. CREATE DATABASE `company`;
  2.  
  3. CREATE TABLE employee(employeeId INT,employeeName VARCHAR(25),departmentId INT NULL);
  4.  
  5. CREATE TABLE department(departmentId INT,departmentName VARCHAR(25) NULL)

Editor

You can edit this paste and save as new: