Case Study: Problem Statement
Case Study: Problem Statement
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?
Applied Candidates
Resume Table
ContactUs Table
It holds all the queries asked by any user over the internet. It contains the name, email
address and
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.