php - Online Admissions System -
i working on online admissions system in mysql , php.
i need save applicant's personal academic details. far have created 1 table save personal details applicant id (auto increment) primary key. academic details bit confused. fields required academic details are:
degree level (like master, bachelor, high school); roll no; subjects; grade; institution; percentage; degree image (image field save scanned copies of transcripts).
i not know how relate these 2 tables. uploading image files (scanned copies of transcripts) affect database performance?
you have 2 tables
applicants
id | name | address | etc, etc
academicdetails
id | applicantid | degree | rollno | degreeimageurl | etc, etc
to list applicants
select * applicants
to search specific applicant name.
select * applicants name = 'tom jones'
to select applicant id=1 , academic details use join
select * applicants join academicdetails on academicdetails.applicantid=applicants.id applicants.id = 1
Comments
Post a Comment