-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmp1.sql
223 lines (186 loc) · 9.44 KB
/
mp1.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
-- phpMyAdmin SQL Dump
-- version 4.2.11
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: May 13, 2017 at 11:31 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: `mp`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
CREATE TABLE IF NOT EXISTS `admin` (
`id` int(11) NOT NULL,
`admin_name` varchar(30) NOT NULL,
`admin_password` varchar(50) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `admin`
--
INSERT INTO `admin` (`id`, `admin_name`, `admin_password`) VALUES
(2, 'admin', '25d55ad283aa400af464c76d713c07ad');
-- --------------------------------------------------------
--
-- Table structure for table `connect`
--
CREATE TABLE IF NOT EXISTS `connect` (
`id` int(11) NOT NULL,
`name` varchar(30) NOT NULL,
`email` varchar(100) NOT NULL,
`subject` varchar(20) NOT NULL,
`message` varchar(150) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `connect`
--
INSERT INTO `connect` (`id`, `name`, `email`, `subject`, `message`) VALUES
(1, 'AVNISH SINGH', '[email protected]', 'query', 'hjhu');
-- --------------------------------------------------------
--
-- Table structure for table `doctor`
--
CREATE TABLE IF NOT EXISTS `doctor` (
`id` int(11) NOT NULL,
`Doc_name` varchar(30) NOT NULL,
`Doc_email` varchar(100) NOT NULL,
`doc_contact` varchar(12) NOT NULL,
`type` varchar(20) NOT NULL,
`info` varchar(255) NOT NULL,
`tags` varchar(800) NOT NULL,
`doc_photo` varchar(100) NOT NULL,
`city` varchar(20) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `doctor`
--
INSERT INTO `doctor` (`id`, `Doc_name`, `Doc_email`, `doc_contact`, `type`, `info`, `tags`, `doc_photo`, `city`) VALUES
(1, 'Dr. Peter', '[email protected]', '9828090421', 'dentist', 'MBBS', ' teeth/tooth ', 'doc/Dr. Peter.jpg', 'jaipur'),
(2, 'Dr. Alex', '[email protected]', '9828096264', 'ent', 'MBBS, MD', ' breathe head head-headche neck smell things taste vomit ', 'doc/Dr. Alex.jpg', 'jaipur'),
(4, 'Dr. Eva', '[email protected]', '9999999999', 'neurologist', 'MBBS ', ' head head-headche remember sleep sprain taste walk write', 'doc/Dr. Eva.jpg', 'jaipur'),
(5, 'Dr. Harry', '[email protected]', '9825556258', 'orthopedic', 'MBBS MS MD', ' assaulted back chest fracture head in a traffic accident neck walk write torncartilage', 'doc/Dr. Harry.jpg', 'jaipur'),
(6, 'Dr. John', '[email protected]', '8565856587', 'physician', 'MBBS', 'abdomen assaulted back blindness breathe chest cold/fever fracture head head-headche in a traffic accident limb nausea neck nosebleed passurine remember shot sleep smell things sprain stabbed stomach taste teeth/tooth tired torn cartilage vagina vomit walk weak write', 'doc/Dr. John.jpg', 'jaipur'),
(7, 'Dr. Michael', '[email protected]', '8745685265', 'surgeon', 'MBBS MD', 'abdomen assaulted back chest cold/fever fracture head in a traffic accident limb nausea nosebleed passurine shot sleep smell things sprain stabbed stomach vagina vomit weak ', 'doc/Dr. Michael.jpg', 'mumbai'),
(8, 'Dr. Jack', '[email protected]', '7895458555', 'ent', 'MBBS', ' breathe head head-headche neck smell things taste vomit ', 'doc/Dr. Jack.jpg', 'jaipur'),
(9, 'Dr. Simon', '[email protected]', '7898525486', 'neurologist', 'MBBS', ' head head-headche remember sleep sprain taste walk write', 'doc/Dr. Simon.jpg', 'delhi'),
(10, 'Dr. Jane', '[email protected]', '8947698524', 'gynecologist', 'MBBS MD MS', ' assaulted passurine vagina vomit weak ', 'doc/Dr. Jane.jpg', 'mumbai'),
(11, 'Dr. Bob', '[email protected]', '8925656898', 'surgeon', 'MBBS MD', 'abdomen assaulted back chest cold/fever fracture head in a traffic accident limb nausea nosebleed passurine shot sleep smell things sprain stabbed stomach vagina vomit weak ', 'doc/Dr. Bob.jpg', 'jaipur'),
(12, 'Dr. Ronald', '[email protected]', '8526987456', 'physician', 'MBBS', 'abdomen assaulted back blindness breathe chest cold/fever fracture head head-headche in a traffic accident limb nausea neck nosebleed passurine remember shot sleep smell things sprain stabbed stomach taste teeth/tooth tired torn cartilage vagina vomit walk weak write', 'doc/Dr. Ronald.jpg', 'delhi'),
(13, 'Madhur Sain', '[email protected]', '7864512467', 'neurologist', 'Just an Random Indain Doctor', 'abdomen chest head in a traffic accident neck remember shot sleep stabbed taste torn cartilage walk weak ', 'doc/Madhur Sain9620.jpg', 'jaipur'),
(14, 'Madhur Sain', '[email protected]', '9678656456', 'dentist', 'bgvcg', ' assaulted breathe ', 'doc/Madhur Sain2274.jpg', 'jaipur');
-- --------------------------------------------------------
--
-- Table structure for table `doctors_clinic`
--
CREATE TABLE IF NOT EXISTS `doctors_clinic` (
`doc_id` int(11) NOT NULL,
`address` varchar(255) DEFAULT NULL,
`lat` float DEFAULT NULL,
`lng` float DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `doctors_clinic`
--
INSERT INTO `doctors_clinic` (`doc_id`, `address`, `lat`, `lng`) VALUES
(1, 'Manipal Hospital, road number 1,sikar road,jaipur-302039', 26.9683, 75.7736),
(2, 'Manipal Hospital, road number 1,sikar road,jaipur', 26.9683, 75.7736),
(4, 'khethan hospital sikar road jaipur-302039', 26.959, 75.7711),
(5, 'dristi eye hospital sikar road jaipur', 26.9622, 75.7709),
(6, 'sms hospital tonk road jaipur', 26.9064, 75.8155),
(7, 'sevenhills hsopital near maraj maroashi hsopital mumbai', 19.1176, 72.8786),
(8, 'SDM Hospital Santokba Durlabhji Memorial near birla mandir jaipur', 26.8936, 75.8122),
(9, 'kalra hospital,Tulsi Dass Kalra Marg, Kirti Nagar, Block A, Indira Colony, Kirti Nagar, New Delhi, Delhi 110015', 28.6544, 77.139),
(10, 'holy spirit hospital near road no 13 mumbai', 19.1283, 72.8665),
(11, 'apex hospital mansarovar jaipur', 26.8658, 75.7624),
(12, 'batra hospital,B-1/5, Janak Puri, Near Cheque Post, Block B 2B, Janakpuri, New Delhi, Delhi 110058', 28.6344, 77.0904),
(13, 'Fortis Escorts Hospital, Jawahar Lal Nehru Marg, Malviya Nagar, Sector 5, Malviya Nagar,Jaipur', 26.8466, 75.8034),
(14, 'maxwell hospital Jhotwara Road, Opposite Khantaka Marriage Garden, Doodh Mandi, Subash Nagar, Shastri Nagar, Jaipur, Rajasthan 302016', 26.9343, 75.795);
-- --------------------------------------------------------
--
-- Table structure for table `signup`
--
CREATE TABLE IF NOT EXISTS `signup` (
`id` int(11) NOT NULL,
`username` varchar(50) NOT NULL,
`password` varchar(50) NOT NULL,
`name` varchar(100) NOT NULL,
`email` varchar(255) NOT NULL,
`age` int(3) NOT NULL,
`sex` varchar(10) NOT NULL,
`city` varchar(50) NOT NULL,
`sec_que` varchar(255) NOT NULL,
`sec_ans` varchar(255) NOT NULL,
`photo` varchar(255) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `signup`
--
INSERT INTO `signup` (`id`, `username`, `password`, `name`, `email`, `age`, `sex`, `city`, `sec_que`, `sec_ans`, `photo`) VALUES
(2, 'admin', '25d55ad283aa400af464c76d713c07ad', 'vicky agarwal', '[email protected]', 24, 'male', 'jaipur', 'what is your pet name ?', 'lucy', 'profiles/admin.jpg'),
(4, 'vickyvicus', '25d55ad283aa400af464c76d713c07ad', 'vicky agarwal', '[email protected]', 21, 'male', 'jaipur', 'who is your favourite teacher ?', 'myself', 'profiles/vickyvicus.jpg'),
(21, 'vikas', '7815696ecbf1c96e6894b779456d330e', 'vikas ', '[email protected]', 21, 'male', 'jaipur', 'who is your favourite teacher ?', 'asd', 'profiles/vikas.jpg'),
(22, 'rai', 'f1290186a5d0b1ceab27f4e77c0c5d68', 'rai', 'e@g', 21, 'male', 'jaipur', 'who is your favourite teacher ?', '1', 'profiles/rai.jpg'),
(23, 'e', 'c81e728d9d4c2f636f067f89cc14862c', 'e', '[email protected]', 32, 'male', 'jaipur', 'who is your favourite teacher ?', '2', 'profiles/e.jpg');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `connect`
--
ALTER TABLE `connect`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `doctor`
--
ALTER TABLE `doctor`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `doctors_clinic`
--
ALTER TABLE `doctors_clinic`
ADD PRIMARY KEY (`doc_id`);
--
-- Indexes for table `signup`
--
ALTER TABLE `signup`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admin`
--
ALTER TABLE `admin`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `connect`
--
ALTER TABLE `connect`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `doctor`
--
ALTER TABLE `doctor`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=19;
--
-- AUTO_INCREMENT for table `signup`
--
ALTER TABLE `signup`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=24;
/*!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 */;