-
Notifications
You must be signed in to change notification settings - Fork 4
/
hms.sql
99 lines (81 loc) · 2.61 KB
/
hms.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
-- phpMyAdmin SQL Dump
-- version 4.2.11
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Nov 25, 2014 at 01:37 AM
-- Server version: 5.6.21
-- PHP Version: 5.6.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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 utf8 */;
--
-- Database: `hms`
--
-- --------------------------------------------------------
--
-- Table structure for table `appointment`
--
CREATE TABLE IF NOT EXISTS `appointment` (
`doctor` varchar(100) NOT NULL,
`patient` varchar(100) NOT NULL,
`registrationNumber` int(10) NOT NULL,
`day` varchar(10) NOT NULL,
`time` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `appointment`
--
INSERT INTO `appointment` (`doctor`, `patient`, `registrationNumber`, `day`, `time`) VALUES
('Dr. Rupak Das ( General Physician ) ', 'Anubhav Saxena', 120546520, 'wednesday', '10-10:30 AM');
-- --------------------------------------------------------
--
-- Table structure for table `department`
--
CREATE TABLE IF NOT EXISTS `department` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `department`
--
INSERT INTO `department` (`id`, `name`, `field`) VALUES
(1, 'Dr. Rupak Das', 'General Physician'),
(2, 'Dr. Gnana Haokip', 'ENT Specialist'),
(3, 'Dr. Dana Lepcha', 'Cardiologist'),
(4, 'Dr. Akash Saxena', 'Neurologist'),
(5, 'Dr. Sudha Bharti', 'Child Specialist'),
(6, 'Dr. Meena Sharma', 'General Physician'),
(7, 'Dr. Byomkesh Dutt', 'Pathologist'),
(8, 'Dr. Tara Sarkar', 'Dermatologist'),
(9, 'Dr. Bimal Chateerjee', 'Surgeon'),
(10, 'Dr. AB Kumar', 'Surgeon'),
(11, 'Dr. David Hume', 'Neurologist'),
(12, 'Dr. Ajay Yadav', 'Gynaecologist'),
(13, 'Dr. BL Sharma', 'Cardiologist'),
(14, 'Dr. TP Yadav', 'ENT Specialist'),
(15, 'Dr. Neha Gupta', 'Gastroenterologist'),
(16, 'Dr. Virat Kohli', 'Child Specialist');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `department`
--
ALTER TABLE `department`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `department`
--
ALTER TABLE `department`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=17;
/*!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 */;