0% found this document useful (0 votes)
95 views

Case Study: Problem Statement

This case study involves designing a database for an online job portal. The database would include tables for user registration, company registration, job details, resumes, feedback, and contact information. The case study provides examples of the structure for each table. It also provides examples of SQL queries to insert, update, select, and delete records in the tables to implement the job portal's functionality. The learning outcomes are for students to understand how to logically structure a database schema for an application, apply concepts to solve problems, and write queries to answer specific questions.

Uploaded by

Akhilesh Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views

Case Study: Problem Statement

This case study involves designing a database for an online job portal. The database would include tables for user registration, company registration, job details, resumes, feedback, and contact information. The case study provides examples of the structure for each table. It also provides examples of SQL queries to insert, update, select, and delete records in the tables to implement the job portal's functionality. The learning outcomes are for students to understand how to logically structure a database schema for an application, apply concepts to solve problems, and write queries to answer specific questions.

Uploaded by

Akhilesh Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Case Study

Name of the Case Study: Database Design and Interactive SQL Queries for Job Portal
FP Course Linkage: Relational Database Management System
Focus Area: Database logical design, creation of database tables and SQL queries
Complexity : Complex

Problem Statement :

This system can be used as an Online Job Portal for the Placements providing to the undergraduates
and employees who are seeking for a job placement. Job Seeker logging into the system and he can
should be able to upload their information in the form of a CV. Visitors/Company representatives
logging in may also access/search any information put up by Job Seeker. The companies may also
enter the profile of the job vacancy and the other details. The details of company may be fully entered
and be updated time to time so that the candidate gets the best of information he/she wants. The
company may also update their entries as per their needs.
The system tends to match the candidates profile with the companies profile and inform the
candidates whose profile matches. Thus the system tends to provide the candidates with list of
companies matching their profiles. Thus after obtaining a list of companies matching his/her profile a
candidate may show their interest on the particular company they want to try for based on the choice
of job profile .Thus obtaining the choice of job profile they are most interested for. Moreover the
companies also get the list of interested candidate with the profile they needed. Thus reducing the
complex task of companies .now from the obtained list the company can choose the candidate by any
set of task.

Questions :
1. How to design database schema to represent relationship between entity and attributes?
2. How to create various database tables?
3. How to write various SQL queries to answer the different questions?

JOB PORTAL Database Creation


User Register Table

Table 4.3.1: Registration table

Company Registration Table

Table 4.3.2: Company Registration table

Applied Candidates

Table 4.3.3: Applied Candidates table


Job Detail Table

Table 4.3.4: Job Details table

Resume Table

Table 4.3.5: Resume table


Feedback Table
It holds all the feedbacks given by any user. It contains the full name, contact number and message of
the sender.

Table 4.3.6: Feedback table

ContactUs Table
It holds all the queries asked by any user over the internet. It contains the name, email

address and

the address (optional) of the sender.

Table 4.3.7: ContactUs table

insert into
jobdetail(name,jobid,email,post,criteria,vaccancy,expyr,city,type,salary)
values('"+name+"','"+id+"','"+email+"','"+p+"','"+cr+"','"+va+"','"+e+"','"+city+"','"+type+"','"
+s+"')

update
company_registration set name='"+name+"',companyadd='"+add+"', type='"+t+"',contact
='"+co+"' where email='"+email+"'"
insert into
register(EmailId,Password,status,loginAs,Auth_Code)
values('"+email+"','"+finalpassword+"',0,'"+login+"','"+code+"')
insert
into
company_registration(name,email,pass,companyadd,type,contact,grade,logo,status,loginAs,A
uth_Code)
values('"+name+"','"+email+"','"+finalpassword+"','"+add+"','"+t+"','"+co+"',0,'"+pic+"',0,'"+l
ogin+"','"+code+"')
update
register set Myname='"+name+"',Birthday='"+dob+"', Ilivein='"+cty+"',CollegeName
='"+cnm+"' where EmailId='"+email+"
insert into
feedback(FullName,ContactNumber,Query)values('"+f+"','"+co+"','"+q+"')
select
* from jobdetail where email='"+email+"'
select
* from register where EmailId='"+email+"'
delete from company_registration where id="+param+""
delete from resume where id="+param+""
select
* from jobdetail where type='"+p+"' or expyr='"+e+"' or city='"+city+"' or salary='"+s+"' or
post='"+po+"'"
Insert
register(Myname,Iam,Birthday,Ilivein,CollegeName,EmailId,Password,uploadpic,status,login
As,Auth_Code)values('"+name+"','"+gen+"','"+dob+"','"+city+"','"+clg+"','"+email+"','"+final
password+"','"+pic+"',1,'user','"+code+"')
insert
into
resume(name,email,contact,resum,categry,expyr,company,designation,salary,cmpnyadd)
values('"+name+"','"+e+"','"+ph+"','"+p+"','"+s+"','"+exp+"','"+cmp+"','"+desi+"','"+sal+"','"+a
dd+"')
update jobdetail set name='"+name+"',post='"+p+"', jobid='"+id+"',vaccancy ='"+vac+"',
salary ='"+sal+"',criteria ='"+ct+"' where id="+param+"
insert into feedback(FullName,ContactNumber,Query)values('"+f+"','"+co+"','"+q+"')"
insert into contactus(Name,Email,address)values('"+f+"','"+e+"','"+q+"')

Learning Outcomes:
1. Students will be able to understand logical structure and syntax to create database schema for a
practical application.

2. Students will be able to learn how to apply the concepts to solve the problem.
3. Student will learn how to write queries for a particular question.
4. Implementation of Breadth First Search.

You might also like