Question
designing a query and displaying the query output
The goal is to create a report (in HTML form) of all the jobs
(and job-related information) for a given department.
I envision the department name as a hyperlink to a report based on the unique DepartmentID.
For example, the “Sales” department might contain these jobs:
VP of Sales
Associate Salesperson
Sales Assistant
Each job requires a set of skills and a specific skill level.
“Persuasion skill” could vary as follows:
VP of Sales: ADVANCED persuasion skill
Associate Salesperson: MODERATE persuasion skill
Sales Assistant: BASIC persuasion skill
“Communication skill” could vary as follows:
VP of Sales: EXPERT communication skill
Associate Salesperson: ADVANCED communication skill
Sales Assistant: NOT REQUIRED
And so on…
Each job has roughly 20 skills that are related to it.
I’d like to display this information in a table with the skills listed in rows, the job titles listed in column headings, and the skill level (e.g., ADVANCED) located in the appropriate cell where the skill and job title intersect. That way, the reader can easily compare skill levels across jobs.
The requisite tables are below. (A field name preceded by “frn_” is the foreign key related to another table’s primary key.)
Table: Departments
Fields: DepartmentID, DepartmentName
Table: Jobs
Fields: JobID, JobTitle, frn_DepartmentID
Table: Skills
Fields: SkillID, SkillName
Table: Skill_Levels
Fields: Skill_LevelID, Skill_Level_Description
Table: JobSkills (this table “links” a job, skill, and skill level)
Fields: JobSkillID, frn_JobID, frn_SkillID, frn_Skill_LevelID
I'm not sure how to do this, so thank you for any help!
Luke
I envision the department name as a hyperlink to a report based on the unique DepartmentID.
For example, the “Sales” department might contain these jobs:
VP of Sales
Associate Salesperson
Sales Assistant
Each job requires a set of skills and a specific skill level.
“Persuasion skill” could vary as follows:
VP of Sales: ADVANCED persuasion skill
Associate Salesperson: MODERATE persuasion skill
Sales Assistant: BASIC persuasion skill
“Communication skill” could vary as follows:
VP of Sales: EXPERT communication skill
Associate Salesperson: ADVANCED communication skill
Sales Assistant: NOT REQUIRED
And so on…
Each job has roughly 20 skills that are related to it.
I’d like to display this information in a table with the skills listed in rows, the job titles listed in column headings, and the skill level (e.g., ADVANCED) located in the appropriate cell where the skill and job title intersect. That way, the reader can easily compare skill levels across jobs.
The requisite tables are below. (A field name preceded by “frn_” is the foreign key related to another table’s primary key.)
Table: Departments
Fields: DepartmentID, DepartmentName
Table: Jobs
Fields: JobID, JobTitle, frn_DepartmentID
Table: Skills
Fields: SkillID, SkillName
Table: Skill_Levels
Fields: Skill_LevelID, Skill_Level_Description
Table: JobSkills (this table “links” a job, skill, and skill level)
Fields: JobSkillID, frn_JobID, frn_SkillID, frn_Skill_LevelID
I'm not sure how to do this, so thank you for any help!
Luke
