- PhpMyAdmin SQL Dump
- PhpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Oct 14, 2024 at 11:05 AM
-- Server version: 10.4.28-MariaDB
-- PHP Version: 8.1.17
--
-- Database: `enrollment`
--
-- --------------------------------------------------------
--
-- Table structure for table `courses`
--
--
-- Dumping data for table `courses`
--
-- --------------------------------------------------------
--
-- Table structure for table `departments`
--
--
-- Dumping data for table `departments`
--
-- --------------------------------------------------------
--
-- Table structure for table `enrollments`
--
--
-- Dumping data for table `enrollments`
--
-- --------------------------------------------------------
--
-- Table structure for table `professors`
--
--
-- Dumping data for table `professors`
--
-- --------------------------------------------------------
--
-- Table structure for table `students`
--
--
-- Dumping data for table `students`
--
--
-- Indexes for dumped tables
--
--
-- Indexes for table `courses`
--
ALTER TABLE `courses`
ADD PRIMARY KEY (`course_id`);
--
-- Indexes for table `departments`
--
ALTER TABLE `departments`
ADD PRIMARY KEY (`department_id`);
--
-- Indexes for table `enrollments`
--
ALTER TABLE `enrollments`
ADD PRIMARY KEY (`enrollment_id`);
--
-- Indexes for table `professors`
--
ALTER TABLE `professors`
ADD PRIMARY KEY (`professor_id`);
--
-- Indexes for table `students`
--
ALTER TABLE `students`
ADD PRIMARY KEY (`student_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `courses`
--
ALTER TABLE `courses`
MODIFY `course_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;
--
-- AUTO_INCREMENT for table `departments`
--
ALTER TABLE `departments`
MODIFY `department_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;
--
-- AUTO_INCREMENT for table `enrollments`
--
ALTER TABLE `enrollments`
MODIFY `enrollment_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;
--
-- AUTO_INCREMENT for table `professors`
--
ALTER TABLE `professors`
MODIFY `professor_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;
--
-- AUTO_INCREMENT for table `students`
--
ALTER TABLE `students`
MODIFY `student_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;
COMMIT;