-
Notifications
You must be signed in to change notification settings - Fork 1
/
job.sql
314 lines (256 loc) · 10.5 KB
/
job.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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Nov 22, 2019 at 09:11 AM
-- Server version: 5.7.26
-- PHP Version: 7.2.18
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `job`
--
DELIMITER $$
--
-- Procedures
--
DROP PROCEDURE IF EXISTS `Walkin_Interview_Details`$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `Walkin_Interview_Details` () select * from Walkin_Master$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Table structure for table `application_master`
--
DROP TABLE IF EXISTS `application_master`;
CREATE TABLE IF NOT EXISTS `application_master` (
`ApplicationId` int(11) NOT NULL AUTO_INCREMENT,
`JobSeekId` int(11) NOT NULL,
`JobId` int(11) NOT NULL,
`Status` varchar(30) NOT NULL,
`Description` varchar(200) NOT NULL,
PRIMARY KEY (`ApplicationId`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `application_master`
--
INSERT INTO `application_master` (`ApplicationId`, `JobSeekId`, `JobId`, `Status`, `Description`) VALUES
(1, 3, 1, 'Call Letter Sent', 'Invited on 21-Dec-2019.'),
(2, 3, 2, 'Call Letter Sent', 'You are Invited For Interview on 10-MAR-2020.'),
(3, 3, 3, 'Call Letter Sent', 'Invited on 21-Dec-2019.'),
(5, 3, 4, 'Call Letter Sent', 'Invited on 11-Dec-2019.');
-- --------------------------------------------------------
--
-- Table structure for table `employer_reg`
--
DROP TABLE IF EXISTS `employer_reg`;
CREATE TABLE IF NOT EXISTS `employer_reg` (
`EmployerId` int(11) NOT NULL AUTO_INCREMENT,
`CompanyName` varchar(20) NOT NULL,
`ContactPerson` varchar(20) NOT NULL,
`Address` varchar(100) NOT NULL,
`City` varchar(20) NOT NULL,
`Email` varchar(40) NOT NULL,
`Mobile` bigint(20) NOT NULL,
`Area_Work` varchar(40) NOT NULL,
`Status` varchar(10) NOT NULL,
`UserName` varchar(20) NOT NULL,
`Password` varchar(20) NOT NULL,
`Question` varchar(100) NOT NULL,
`Answer` varchar(50) NOT NULL,
PRIMARY KEY (`EmployerId`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `employer_reg`
--
INSERT INTO `employer_reg` (`EmployerId`, `CompanyName`, `ContactPerson`, `Address`, `City`, `Email`, `Mobile`, `Area_Work`, `Status`, `UserName`, `Password`, `Question`, `Answer`) VALUES
(2, 'TCS Private Limited', 'Mr. Mohan Shah', 'Navarangpura1', 'Ahmedabad', '[email protected]', 9898989898, 'Software', 'Confirm', 'mohan', 'mohan', 'Who is Your Favourite Person?', 'sachin'),
(3, 'Wipro Infotech', 'Mr. Sunil Pandya', 'Baroda', 'Baroda', '[email protected]', 8989898989, 'Hardware', 'Confirm', 'sunil', 'sunil', '', ''),
(4, 'Solusoft Pvt Ltd', 'Mr. Nirav Soni', 'Narayanpura', 'Ahmedabad', '[email protected]', 9898989898, 'Software', 'Pending', 'nirav', 'nirav', 'What is Your Pet Name?', 'niru'),
(5, 'Info Matrics', 'Mr. Narayan', 'Sahibagh', 'Ahmedabad', '[email protected]', 6767676767, 'Software', 'Confirm', 'narayan', 'narayan', 'What is Your Pet Name?', 'nari');
-- --------------------------------------------------------
--
-- Table structure for table `feedback`
--
DROP TABLE IF EXISTS `feedback`;
CREATE TABLE IF NOT EXISTS `feedback` (
`FeedbackId` int(11) NOT NULL AUTO_INCREMENT,
`JobSeekId` int(11) NOT NULL,
`Feedback` varchar(200) NOT NULL,
`FeedbakDate` date NOT NULL,
PRIMARY KEY (`FeedbackId`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `feedback`
--
INSERT INTO `feedback` (`FeedbackId`, `JobSeekId`, `Feedback`, `FeedbakDate`) VALUES
(5, 3, 'asdad', '2019-09-13'),
(6, 3, 'asd', '2019-09-18'),
(7, 4, 'Thanks For Your Support.', '2019-09-18'),
(8, 3, 'asd', '2019-09-22');
-- --------------------------------------------------------
--
-- Table structure for table `jobseeker_education`
--
DROP TABLE IF EXISTS `jobseeker_education`;
CREATE TABLE IF NOT EXISTS `jobseeker_education` (
`EduId` int(11) NOT NULL AUTO_INCREMENT,
`JobSeekId` int(11) NOT NULL,
`Degree` varchar(20) NOT NULL,
`University` varchar(100) NOT NULL,
`PassingYear` mediumint(9) NOT NULL,
`Percentage` float NOT NULL,
PRIMARY KEY (`EduId`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `jobseeker_education`
--
INSERT INTO `jobseeker_education` (`EduId`, `JobSeekId`, `Degree`, `University`, `PassingYear`, `Percentage`) VALUES
(3, 3, 'B.C.A', 'Ganpat Universiy', 2011, 68.89),
(4, 3, 'M.C.A', 'Ganpat University', 2013, 89.9),
(5, 3, 'S.S.C', 'GSEB', 2005, 80);
-- --------------------------------------------------------
--
-- Table structure for table `jobseeker_reg`
--
DROP TABLE IF EXISTS `jobseeker_reg`;
CREATE TABLE IF NOT EXISTS `jobseeker_reg` (
`JobSeekId` int(11) NOT NULL AUTO_INCREMENT,
`JobSeekerName` varchar(20) NOT NULL,
`Address` varchar(100) NOT NULL,
`City` varchar(20) NOT NULL,
`Email` varchar(40) NOT NULL,
`Mobile` bigint(20) NOT NULL,
`Qualification` varchar(20) NOT NULL,
`Gender` varchar(10) NOT NULL,
`BirthDate` date NOT NULL,
`Resume` varchar(200) NOT NULL,
`Status` varchar(10) NOT NULL,
`UserName` varchar(20) NOT NULL,
`Password` varchar(20) NOT NULL,
`Question` varchar(100) NOT NULL,
`Answer` varchar(50) NOT NULL,
PRIMARY KEY (`JobSeekId`),
KEY `JobSeekId` (`JobSeekId`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `jobseeker_reg`
--
INSERT INTO `jobseeker_reg` (`JobSeekId`, `JobSeekerName`, `Address`, `City`, `Email`, `Mobile`, `Qualification`, `Gender`, `BirthDate`, `Resume`, `Status`, `UserName`, `Password`, `Question`, `Answer`) VALUES
(3, 'Jalpa Prajapati', 'Near Dena Bank', 'Mehsana', '[email protected]', 9898989898, 'M.C.A', 'Female', '2013-09-10', 'Marksheet.pdf', 'Confirm', 'jalpa', 'jalpa', 'What is Your Pet Name?', 'jalpa'),
(4, 'Krunal Prajapati', 'Patan', 'Patan', '[email protected]', 8989898989, 'M.B.A', 'Male', '2013-09-16', 'Marksheet.pdf', 'Pending', 'krunal', 'krunal', '', ''),
(5, 'Gopal Patel', 'Patan', 'Patan', '[email protected]', 9898989898, 'MA', 'Male', '2013-10-15', 'admin.jpg', 'Confirm', 'gopal', 'gopal', '', ''),
(6, 'Mehul Mistry', 'Swastik SOciety', 'Baroda', '[email protected]', 8989898998, 'BE', 'Male', '2013-10-09', '470X310_1.jpg', 'Confirm', 'mehul', 'mehul', 'What is Your Pet Name?', 'mehu');
-- --------------------------------------------------------
--
-- Table structure for table `job_master`
--
DROP TABLE IF EXISTS `job_master`;
CREATE TABLE IF NOT EXISTS `job_master` (
`JobId` int(11) NOT NULL AUTO_INCREMENT,
`CompanyName` varchar(20) NOT NULL,
`JobTitle` varchar(50) NOT NULL,
`Vacancy` int(11) NOT NULL,
`MinQualification` varchar(50) NOT NULL,
`Description` varchar(200) NOT NULL,
PRIMARY KEY (`JobId`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `job_master`
--
INSERT INTO `job_master` (`JobId`, `CompanyName`, `JobTitle`, `Vacancy`, `MinQualification`, `Description`) VALUES
(1, 'Wipro Infotech', 'Software Professional Required', 2, 'M.C.A', 'ASP.NET'),
(2, 'Wipro Infotech', 'Marketing Executive Required', 5, 'M.B.A', 'Freshers Are Invited'),
(3, 'TCS Private Limited', 'Software Trainee Required', 1, 'B.Sc.I.T', 'Starting Salary 5000'),
(4, 'Wipro Infotech', 'Cleaners Required', 3, 'SSC', 'N');
--
-- Triggers `job_master`
--
DROP TRIGGER IF EXISTS `insert`;
DELIMITER $$
CREATE TRIGGER `insert` AFTER INSERT ON `job_master` FOR EACH ROW INSERT INTO logs VALUES(null, NEW.JobId, 'Inserted', NOW())
$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Table structure for table `logs`
--
DROP TABLE IF EXISTS `logs`;
CREATE TABLE IF NOT EXISTS `logs` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`JobId` int(11) NOT NULL,
`action` varchar(20) NOT NULL,
`cdate` datetime NOT NULL,
PRIMARY KEY (`Id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `logs`
--
INSERT INTO `logs` (`Id`, `JobId`, `action`, `cdate`) VALUES
(1, 4, 'Inserted', '2019-11-22 12:48:47');
-- --------------------------------------------------------
--
-- Table structure for table `news_master`
--
DROP TABLE IF EXISTS `news_master`;
CREATE TABLE IF NOT EXISTS `news_master` (
`NewsId` int(11) NOT NULL AUTO_INCREMENT,
`News` varchar(200) NOT NULL,
`NewsDate` date NOT NULL,
PRIMARY KEY (`NewsId`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `news_master`
--
INSERT INTO `news_master` (`NewsId`, `News`, `NewsDate`) VALUES
(1, 'Register and Get JOB', '2019-09-24'),
(2, 'New Vacancies will be updated after Diwali', '2019-10-26');
-- --------------------------------------------------------
--
-- Table structure for table `user_master`
--
DROP TABLE IF EXISTS `user_master`;
CREATE TABLE IF NOT EXISTS `user_master` (
`UserId` int(11) NOT NULL AUTO_INCREMENT,
`UserName` varchar(20) NOT NULL,
`Password` varchar(20) NOT NULL,
PRIMARY KEY (`UserId`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_master`
--
INSERT INTO `user_master` (`UserId`, `UserName`, `Password`) VALUES
(6, 'admin', 'admin'),
(10, 'xyz', 'xyz');
-- --------------------------------------------------------
--
-- Table structure for table `walkin_master`
--
DROP TABLE IF EXISTS `walkin_master`;
CREATE TABLE IF NOT EXISTS `walkin_master` (
`WalkInId` int(11) NOT NULL AUTO_INCREMENT,
`CompanyName` varchar(20) NOT NULL,
`JobTitle` varchar(50) NOT NULL,
`Vacancy` int(11) NOT NULL,
`MinQualification` varchar(50) NOT NULL,
`Description` varchar(100) NOT NULL,
`InterviewDate` date NOT NULL,
`InterviewTime` time NOT NULL,
PRIMARY KEY (`WalkInId`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `walkin_master`
--
INSERT INTO `walkin_master` (`WalkInId`, `CompanyName`, `JobTitle`, `Vacancy`, `MinQualification`, `Description`, `InterviewDate`, `InterviewTime`) VALUES
(1, 'Wipro Infotech', 'Freshers Required', 5, 'B.C.A', 'Hardworking Person are Required.', '2013-09-25', '09:00:00'),
(2, 'TCS Private Limited', 'Marketive Representative Invited', 2, 'Pharmacist', 'Ready TO work in North Gujarat', '2013-10-07', '09:00:00');
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 */;