Question

Task 1: Use the HR schema to implement the following scenario. The megacorp company want to...

Task 1: Use the HR schema to implement the following scenario.

The megacorp company want to expand its operation to New Zealand (NZ) by establishing a new department “Research and Development” department ID “280” located in Auckland city. The new department has the location ID “3300”, address “AUT City Campus, WT Building” and postal code “1010”. You and 4 of your friends are hired to work in the new department as “IT_PROG”. This position comes with a salary package of 5000 and does NOT include any commission percentage. All employees in the new department are hired on 1 st of March, 2016 and will report to the manager “Steven King (Emp ID: 100)”. The new 5 employees will take the Employee ID values of (207 – 211) and must get email IDs according to the format used in the employees table. Implement the scenario above by inserting the necessary data into (employees, departments, locations, countries) tables.

Task 2: Use the HR schema to implement the following scenario. You did an excellent work during the past few weeks and your manager decided to give you a commission of 0.05%. Update your record in the employees table to give yourself the 0.05% commission.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer: Task 1) CREATE TABLE Department ( Did INT Lid INT Dname VARCHAR (20) PRIMARY KEY (Did) FOREIGN KEY (Lid) REFERENCES PINSERT INTO Location (Lid, Lname, Address, Country, Postal_code) VALUES (3300 Auckland city , AUT City Campus, WT BuildingSample output: sh-4.3 sqlite3 database.sdb < main.sql 2801 3300| Research and developement 3300 Auckland city AUT City Campussample output: 207 sharmi 280 sharmi@gmail.com 1/03/2016 50ee e 208l keerthil280| keerthi@gmail.com| 1/03/2016| 500ele 209 l

Add a comment
Know the answer?
Add Answer to:
Task 1: Use the HR schema to implement the following scenario. The megacorp company want to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please refer to the following business scenarios: (i) Using SELECT statements of SQL, find the employee...

    Please refer to the following business scenarios: (i) Using SELECT statements of SQL, find the employee id, first name, last name, job title and email of all employees working in Asia (i.e. all countries coming from the region     ‘Asia’). This query must be implemented as a nested query! (ii) Using SELECT statements of SQL, find the employee id, first name, last name, job title and supervisor id of employees who had worked for more than 3 years and completed...

  • Leading Read critically and analyze the following scenario: Biotech has always told workers that they want...

    Leading Read critically and analyze the following scenario: Biotech has always told workers that they want to keep people in the Biotech family. The company encourages employees to get additional training and will pay for college tuition for those who want to advance their career opportunities within the company. During the course of production older line staffers became aware that the pharmaceutically trained line workers made $3.00 more per hour than they did. The workers were unhappy. They felt that...

  • Case 10.2.Managing Conflicts: How Can HR Help With Angry Employees? Unfortunately, we two or more people...

    Case 10.2.Managing Conflicts: How Can HR Help With Angry Employees? Unfortunately, we two or more people work together for long periods of time, some level of conflict will emerge. Functional conflict is a level of conflict that actually helps each employees improve his or her overall performance. However, finding this beneficial level is not an easy task. Too little conflict, and employees can become complacent. Too high levels of conflict can create dysfunction that interferes with workplace performance. A good...

  • Question to the Scenario below: Keeping in mind that it takes time/energy to implement systems to...

    Question to the Scenario below: Keeping in mind that it takes time/energy to implement systems to retrieve data, which HR metrics should start Paul capturing? Scenario: “John, our production numbers are getting worse,” said Roy, who is John’s manager at the small plastic molding company. “What’s going on?” “ We've laid off several people in my area,” replied John. “Can't you get them to work harder? asked Roy. “Before the layoff, we had a lot of people quitting,” said John....

  • How can we assess whether a project is a success or a failure? This case presents...

    How can we assess whether a project is a success or a failure? This case presents two phases of a large business transformation project involving the implementation of an ERP system with the aim of creating an integrated company. The case illustrates some of the challenges associated with integration. It also presents the obstacles facing companies that undertake projects involving large information technology projects. Bombardier and Its Environment Joseph-Armand Bombardier was 15 years old when he built his first snowmobile...

  • Actions that damage a company and its employees should be stamped out, everyone would agree. But ...

    Actions that damage a company and its employees should be stamped out, everyone would agree. But should the people responsible be stamped out, too? HBR CASE STUDY The Reign of Zero Tolerance by Ben Gerson "Mr. Pemberton?" manager. The guards had radioed her that the "Yes, that's me," Simon replied distractedly, his back turned. target wasn't putting up much resistance. "Your personal belongings will be messen The two burly gentlemen who had suddenly gered to your home later today," Sallie...

  • Industrial and Organizational Psychology questions

    Industrial-organizational psychologists are interested in all of the following except1. how to best diagnose clinical disorders and offer therapy to employees.2. how personality characteristics influence work behavior.3. how culture influences people's perceptions of their working environments.4. how people's work affects their home life.An organizational psychologist would be most likely concerned with1. studying the interaction between humans and technology.2. All of the these3. interviewing potential employees.4. helping people organize their schedules and daily planners.5. understanding the emotional and motivational side of...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT