-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Sep 14, 2023 at 05:41 PM
-- Server version: 5.7.43
-- PHP Version: 8.1.16

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `ngmarsha_schedule`
--

-- --------------------------------------------------------

--
-- Table structure for table `classDay`
--

CREATE TABLE `classDay` (
  `dayID` int(11) NOT NULL,
  `dayName` varchar(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `classDay`
--

INSERT INTO `classDay` (`dayID`, `dayName`) VALUES
(1, 'M/W'),
(2, 'M'),
(3, 'T/TH'),
(4, 'W'),
(5, 'TH');

-- --------------------------------------------------------

--
-- Table structure for table `ClassEnd`
--

CREATE TABLE `ClassEnd` (
  `EndID` int(11) NOT NULL,
  `endName` varchar(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ClassEnd`
--

INSERT INTO `ClassEnd` (`EndID`, `endName`) VALUES
(1, '1:50 PM'),
(2, '2:00 PM'),
(3, '5:50 PM'),
(4, '4:50 PM'),
(5, '3:20 PM'),
(6, '7:50 PM');

-- --------------------------------------------------------

--
-- Table structure for table `ClassName`
--

CREATE TABLE `ClassName` (
  `NameID` int(11) NOT NULL,
  `Name` varchar(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ClassName`
--

INSERT INTO `ClassName` (`NameID`, `Name`) VALUES
(1, 'MKT 405'),
(2, 'MUIN 420'),
(3, 'MUJZ 301'),
(4, 'MUEN 332'),
(5, 'MUCO 130ax'),
(6, 'ACAD 276'),
(7, 'BAEP 475');

-- --------------------------------------------------------

--
-- Table structure for table `ClassPeriod`
--

CREATE TABLE `ClassPeriod` (
  `ClassPeriod` int(11) NOT NULL,
  `NameID` int(11) NOT NULL,
  `startID` int(11) NOT NULL,
  `EndID` int(11) NOT NULL,
  `dayID` int(11) NOT NULL,
  `Location` varchar(25) NOT NULL,
  `dateID` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ClassPeriod`
--

INSERT INTO `ClassPeriod` (`ClassPeriod`, `NameID`, `startID`, `EndID`, `dayID`, `Location`, `dateID`) VALUES
(1, 1, 1, 1, 1, 'JFF 326', 1),
(2, 2, 5, 6, 5, 'KDC 240', 5),
(3, 3, 2, 2, 4, 'TMC G131', 3),
(4, 4, 5, 6, 4, 'TMC G128', 3),
(5, 5, 3, 5, 1, 'MUS 303', 1),
(6, 6, 3, 4, 3, 'IYH 210/211', 4),
(7, 7, 4, 3, 2, 'JFF 414', 0);

-- --------------------------------------------------------

--
-- Table structure for table `ClassStart`
--

CREATE TABLE `ClassStart` (
  `startID` int(11) NOT NULL,
  `startName` varchar(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ClassStart`
--

INSERT INTO `ClassStart` (`startID`, `startName`) VALUES
(1, '12:00 PM'),
(2, '1:00 PM'),
(3, '2:00 PM'),
(4, '4:00 PM'),
(5, '6:00 PM');

-- --------------------------------------------------------

--
-- Table structure for table `date`
--

CREATE TABLE `date` (
  `dateID` int(11) NOT NULL,
  `class` varchar(25) NOT NULL,
  `dateName` varchar(65) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `date`
--

INSERT INTO `date` (`dateID`, `class`, `dateName`) VALUES
(1, 'MKT 405, MUCO 130AX', '9.11, 9.13, 9.18, 9.20, 9.25, 9.27, 10.2, 10.4'),
(2, 'BAEP 475', '9.11, 9.18, 9.25, 10.2'),
(3, 'MUJZ 301', ' 9.13,  9.20,  9.27,  10.4'),
(4, 'DEV II', '9.12, 9.14, 9.19, 9.21, 9.26, 9.28, 10.3, 10.5'),
(5, 'MUIN 420', '9.14,  9.21,  9.28, 10.5');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `classDay`
--
ALTER TABLE `classDay`
  ADD PRIMARY KEY (`dayID`);

--
-- Indexes for table `ClassEnd`
--
ALTER TABLE `ClassEnd`
  ADD PRIMARY KEY (`EndID`);

--
-- Indexes for table `ClassName`
--
ALTER TABLE `ClassName`
  ADD PRIMARY KEY (`NameID`);

--
-- Indexes for table `ClassPeriod`
--
ALTER TABLE `ClassPeriod`
  ADD PRIMARY KEY (`ClassPeriod`);

--
-- Indexes for table `ClassStart`
--
ALTER TABLE `ClassStart`
  ADD PRIMARY KEY (`startID`);

--
-- Indexes for table `date`
--
ALTER TABLE `date`
  ADD PRIMARY KEY (`dateID`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `classDay`
--
ALTER TABLE `classDay`
  MODIFY `dayID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `ClassEnd`
--
ALTER TABLE `ClassEnd`
  MODIFY `EndID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `ClassName`
--
ALTER TABLE `ClassName`
  MODIFY `NameID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `ClassPeriod`
--
ALTER TABLE `ClassPeriod`
  MODIFY `ClassPeriod` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `ClassStart`
--
ALTER TABLE `ClassStart`
  MODIFY `startID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `date`
--
ALTER TABLE `date`
  MODIFY `dateID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
