0% found this document useful (0 votes)
34 views10 pages

Activities - OrangeHRM Database - Accdb

This document provides instructions for analyzing a human resource management (HRM) database. It outlines creating relationships between database tables, designing forms for entering employee data, writing queries to retrieve and filter records, and generating reports. The deliverables are screenshots demonstrating running SQL queries, designing a form, viewing query results, and running a report on job applicants.

Uploaded by

Abul Mal
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)
34 views10 pages

Activities - OrangeHRM Database - Accdb

This document provides instructions for analyzing a human resource management (HRM) database. It outlines creating relationships between database tables, designing forms for entering employee data, writing queries to retrieve and filter records, and generating reports. The deliverables are screenshots demonstrating running SQL queries, designing a form, viewing query results, and running a report on job applicants.

Uploaded by

Abul Mal
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/ 10

Lab: Analyzing a HRM Database

Scenario- RDBMS
You want to develop a database for Human Resource Management (HRM) software. You have
considered different features and relevant data for that software (e.g reverse engineer the OrangeHRM
software). You are given the tables (in the database file) necessary and now you have to establish
relationships, create forms, queries and reports.

Components Reason

Table Keep data, record

Query Virtual table- as required

Form Easy data entry

Report Printable- sharable for business

Relationship Combine table data into complex business requirement.

Deliverable:

1. Activities file with the required screenshots (Google docs in pdf format)
2. Processed file (LibreOffice Database in accdb format)

Your Set:

Section Set

1 Set 1

3 Set 2

Adeyl Khan | NAC 851


More information http://adeyl.com/iteach/
Page 1 of 10
Lab: Analyzing a HRM Database

Activities
1. Run an SQL Query. Create the relationships
Errata1- User_role_screen table- delete entry where user_role_id = 0
DELETE FROM "user_role_screen" WHERE "user_role_id"=0;

Screenshot: SQL Executed

Errata 2- user_role_data_group table- delete 4 entries each where data_group_id = 27, 28, 41
DELETE FROM "user_role_data_group" WHERE "data_group_id"=27 OR "data_group_id"=28 OR
"data_group_id"=41 ;

Screenshot: SQL Executed

Adeyl Khan | NAC 851


More information http://adeyl.com/iteach/
Page 2 of 10
Lab: Analyzing a HRM Database
2. Create a simple form to enter, edit employee information e.g. names, contact information that
links to the employee educational information as a subform. The “validation rule” for phone
number should be 11 digits

Screenshot: Form design

a) Enter yourself as an employee- Use your NSU ID as your phone number

Screenshot: Form entry

b) Consider your future graduation- Enter it as your educational information

Screenshot: Form Entry

Adeyl Khan | NAC 851


More information http://adeyl.com/iteach/
Page 3 of 10
Lab: Analyzing a HRM Database
3. Create a query with the following fields emp_number, employee_id, emp_firstname,
emp_middle_name, emp_lastname, ed_relationship, ed_name

Screenshot: Query design view

a) Show only employees with dependents sorted by dependent-names

Screenshot: Output

b) Show all employees and dependents (if any) with employee ID greater than 20

Screenshot: Output

Adeyl Khan | NAC 851


More information http://adeyl.com/iteach/
Page 4 of 10
Lab: Analyzing a HRM Database
4. Use the “SQL View” to (copy and) edit the query above (3b) to include the “joined_date” field
from the “emp” table

Screenshot: Command

Screenshot: Output

Adeyl Khan | NAC 851


More information http://adeyl.com/iteach/
Page 5 of 10
Lab: Analyzing a HRM Database
5. Vacancy and candidate report
a) Create a simple report to list all the applicants names, phone numbers, date of application,
keywords and vacancy they applied for. Format such that data is not truncated in the
report.

Screenshot: Report Design

b) Make manual entries in the table such that your name appears on this report

Screenshot: Manual Entries

Screenshot: Output

Adeyl Khan | NAC 851


More information http://adeyl.com/iteach/
Page 6 of 10
Lab: Analyzing a HRM Database

Related ideas
Database Software Comparison
LibreOffice Base mysql MS Access

Free Yes Yes No

Secured High High High (No source code


available)

Forms Yes No Yes

User Interface GUI CLI Higher quality GUI

Database Size Small Medium Small

The Database Hierarchy

● Business needs/opportunities
○ System
■ Software
● Database

Adeyl Khan | NAC 851


More information http://adeyl.com/iteach/
Page 7 of 10
Lab: Analyzing a HRM Database

Required Files (Attached)


● OrangeHRM.accdb
● This document
Microsoft Access 2010 or later.

Important Links
● SQL in Microsoft Access
● SQL Basics @ Khan Academy

Adeyl Khan | NAC 851


More information http://adeyl.com/iteach/
Page 8 of 10
Lab: Analyzing a HRM Database

Screenshots (for reference)

Figure 1: Part of the relationship view

Figure 2: Sample form to enter employee information

Adeyl Khan | NAC 851


More information http://adeyl.com/iteach/
Page 9 of 10
Lab: Analyzing a HRM Database

Figure 3: Simple report of the applicants

Adeyl Khan | NAC 851


More information http://adeyl.com/iteach/
Page 10 of 10

You might also like