SlideShare a Scribd company logo
ch aptEr EiGht The WoRk pl Ace (1): BAsic issues
311
When mary daviS, aSSociate vice preSident
for plant management at Whitewater Brewing Company,
wrote an article for a large metropolitan newspaper in her
state, she hadn’t realized where it would lead. At first she
was thrilled to see her words published. Then she was just
worried about keeping her job.
It all started when her husband, Bob, who was working on
his MBA, talked her into taking an evening class with him. She
did and, to her surprise, really got into the course, spending
most of her weekends that semester working on her term
project—a study of wine and beer marketing. Among other
things her essay discussed those respectable wine companies
like E. & J. Gallo (the nation’s largest) that market cheap, forti-
fied wines such as Thunderbird and Night Train Express. With
an alcohol content 50 percent greater and a price far less than
regular wine, these screw-top wines are seldom advertised
and rarely seen outside poor neighborhoods, but they repre-
sent a multimillion dollar industry. Skid-row winos are their
major consumers, a fact that evidently embarrasses Gallo,
because it doesn’t even put its company name on the label.86
Mary’s essay went on to raise some moral questions
about the marketing of malt liquor, a beer brewed with sugar
for an extra punch of alcohol. It has been around for about
forty years; what is relatively new is the larger size of the
container. A few years ago, the industry introduced malt liquor
in 40-ounce bottles that sell for about three dollars. Packing
an alcohol content roughly equivalent to six 12-ounce beers
or five cocktails, 40s quickly became the favorite high of
many inner-city teenagers. Ads for competing brands stress
potency—“It’s got more” or “The Real Power”—and often
use gang slang. Get “your girl in the mood quicker and get
your jimmy thicker,” raps Ice Cube in a commercial for St. Ides
malt liquor. Like baggy pants and baseball caps turned back-
ward, 40s soon moved from the inner city to the suburbs.
Teenage drinkers like the quick drunk, and this worries drug
counselors. They call 40s “liquid crack” and “date rape
brew.”87
Mary’s instructor liked her article and encouraged her to
rewrite it for the newspaper. The problem was that Whitewater
also brews a malt liquor, called Rafter, which it had recently
started offering in a 40-ounce bottle. True, Mary’s article
mentioned Whitewater’s brand only in passing, but top man-
agement was distressed by her criticisms of the whole indus-
try, which, they thought, damaged its image and increased
the likelihood of further state and federal regulation. The
board of directors thought Mary had acted irresponsibly, and
Ralph Jenkins, the CEO, had written her a memo on the
board’s behalf instructing her not to comment publicly about
malt liquor without first clearing her remarks with him. Mary
was hurt and angry.
“I admit that the way the newspaper edited my essay and
played up the malt liquor aspect made it more sensationalis-
tic,” Mary explained to her colleague Susan Watts, “but every-
thing I said was true.”
“I’m sure it was factual,” replied Susan, “but the company
thought the slant was negative. I mean, lots of ordinary peo-
ple drink Rafter.”
“I know that. Bob even drinks it sometimes. I don’t know
why they are so upset about my article. I barely mentioned
Rafter. Anyway, it’s not like Rafter is a big moneymaker. Most
of our other beers outsell it.”
“Well,” continued Susan, “the company is really touchy
about the whole issue. They think the product is under politi-
cal attack these days and that you were disloyal.”
c a Se 8 . 3
Speaking out about malt
43075_ch08_ptg01_hr_276-315.indd 311 8/13/12 1:27 PM
312 pa rt FOU r T h e o R G A N i Z AT i o N A N D T h e p
e o p l e i N i T
“That’s not true,” Mary replied. “I’m no troublemaker, and
I have always worked hard for Whitewater. But I do think they
and the other companies are wrong to market malt liquor the
way they do. It only makes a bad situation worse.”
The next day Mary met with Ralph Jenkins and told him
that she felt Whitewater was “invading,” as she put it, her rights
as a citizen. In fact, she had been invited to speak about wine
and beer marketing at a local high school as part of its antidrug
campaign. She intended to keep her speaking engagement
and would not subject her remarks to company censorship.
Jenkins listened but didn’t say much, simply repeating what
he had already written in his memo. But two days later Mary
received what was, in effect, an ultimatum. She must either
conform with his original order or submit her resignation.
d i S c u S S i o n Q u e S t i o n S
1. Do you think Mary Davis acted irresponsibly or
disloyally?
Does Whitewater have a legitimate concern about her
speaking out on this issue? Does the company have a
right to abridge her freedom of expression?
2. Is your answer to question 1 affected by whether you
agree or disagree with the views Mary Davis expressed?
3. Should there be any limits on an employee’s freedom of
expression? If not, why not? If so, under what circum-
stances is a company justified in restricting an employee’s
right to speak out?
4. The case presentation doesn’t specify whether the
newspaper article identified Mary Davis as an employee of
Whitewater. Is that a relevant issue? Does it matter what
position in the company Mary Davis holds?
5. What do you think Mary Davis ought to do? What moral
considerations should she weigh? Does she have conflict-
ing obligations? If so, what are they?
6. Is the company right to be worried about what Mary Davis
writes or says, or is the board of directors exaggerating the
potential harm to Whitewater of her discussing these issues?
7. Assume a CEO like Ralph Jenkins is legitimately worried
that an employee is making damaging statements about
the company. How should the CEO handle the situation?
Is discharge or some sort of discipline called for? Should
the company adopt a formal policy regarding employee
speech? If so, what policy would you recommend?
Pa
ul
P
ric
e/
G
et
ty
Im
ag
es
orGaniZational theoriStS and employee
advocates frequently emphasize the importance, from both a
moral and a practical point of view, of companies’ respecting
the rights of their employees. Many employees spend long
hours at work and remain tethered to the job by phone or
computer even when they are off-site; not just their careers
but also their friendships, social identity, and emotional lives
are tied up with their work. All the more reason, it seems,
that companies should recognize and respect their moral,
political, and legal rights. But enshrined in our Constitution is
one right that frequently gets overlooked in discussions of the
workplace: the right to bear arms.88
c a Se 8 .4
have Gun, Will travel . . . to Work
43075_ch08_ptg01_hr_276-315.indd 312 8/13/12 1:27 PM
CSIS 325
CMS Project – Phase II Instructions
In this phase, you will create tables based upon the ERD and
SQL code below.You will then populate each table with the data
presented below. Finally, you will create queries that will be
used to support reports for Accounting and Management. You
will not actually create the reports in a GUI environment, only
the queries that will serve as the basis for the reports.
Screenshots are required for a grade to be given. One screenshot
is not the idea; however, multiple screenshots along the way is
the goal.
Background:
The following ERD will be used as the basis for this Phase.
Part A: Table Creation and Data Loading
Instructions: Create a new database in SQL Server and run the
following CREATE TABLE commands. Note that you must run
the CREATE TABLE statements in the order presented (and
load the data in the order presented) to avoid conflicts resulting
from foreign key constraints.
Additional instructions for materials to turn in for this phase of
your project are included at the end of this specification
document.
CREATE TABLE Regions
(RegionID int not null,
RegionAbbreviation varchar(4),
RegionName varchar(100),
CONSTRAINT PK_Regions PRIMARY KEY (RegionID))
CREATE TABLE Countries
(CountryID int not null,
CountryName varchar(50),
WeeklyHours int,
Holidays int,
VacationDays int,
RegionID int,
CONSTRAINT PK_Countries PRIMARY KEY (CountryID),
CONSTRAINT FK_CountriesRegions FOREIGN KEY
(RegionID) References Regions)
CREATE TABLE EmployeeTitles
(TitleID int not null,
Title varchar(15),
CONSTRAINT PK_EmpTitles PRIMARY KEY (TitleID))
CREATE TABLE BillingRates
(TitleID int not null,
Level int not null,
Rate float,
CurrencyName varchar(5),
CONSTRAINT PK_BillingRates PRIMARY KEY (TitleID,
Level),
CONSTRAINT FK_BillingRatesTitles FOREIGN KEY (TitleID)
References EmployeeTitles)
CREATE TABLE Employees
(EmpID int not null,
FirstName varchar(30),
LastName varchar(30),
Email varchar(50),
Salary decimal(10,2),
TitleIDint,
Level int,
SupervisorID int,
CountryID int,
CONSTRAINT PK_Employees PRIMARY KEY (EmpID),
CONSTRAINT FK_EmployeesCountries FOREIGN KEY
(CountryID) References Countries,
CONSTRAINT FK_EmployeesEmpTitles FOREIGN KEY
(TitleID) References EmployeeTitles,
CONSTRAINT FK_EmployeeSupervisors FOREIGN KEY
(SupervisorID) References Employees)
CREATE TABLE ContactTypes
(ContactTypeID int not null,
ContactType varchar(30)
CONSTRAINT PK_ContactTypes PRIMARY KEY
(ContactTypeID))
CREATE TABLE ContractTypes
(ContractTypeID int not null,
ContractType varchar(30)
CONSTRAINT PK_ContractTypes PRIMARY KEY
(ContractTypeID))
CREATE TABLE BenefitTypes
(BenefitTypeID int not null,
BenefitType varchar(30)
CONSTRAINT PK_BenefitTypes PRIMARY KEY
(BenefitTypeID))
CREATE TABLE Clients
(ClientID int not null,
LegalName varchar(50),
CommonName varchar(50),
AddrLine1 varchar(50),
AddrLine2 varchar(50),
City varchar(25),
State_Province varchar(25),
Zip varchar(9),
CountryID int,
CONSTRAINT PK_Clients PRIMARY KEY (ClientID),
CONSTRAINT FK_ClientsCountries FOREIGN KEY
(CountryID) REFERENCES Countries)
CREATE TABLE Contacts
(ContactID int not null,
FirstName varchar(50),
LastName varchar(50),
AddrLine1 varchar(50),
AddrLine2 varchar(50),
City varchar(25),
State_Province varchar(25),
Zip varchar(9),
CountryID int,
ContactTypeID int,
CONSTRAINT PK_Contacts PRIMARY KEY (ContactID),
CONSTRAINT FK_ContactsCountries FOREIGN KEY
(CountryID) REFERENCES Countries)
CREATE TABLE ContractTypes
(ContractTypeID int not null,
ContractTypeDesc varchar(50),
CONSTRAINT PK_ContractTypes PRIMARY KEY
(ContractTypeID))
CREATE TABLE Contracts
(ContractID int not null,
ContractDesc varchar(100),
ClientID int,
ContractTypeID int,
CONSTRAINT PK_Contracts PRIMARY KEY (ContractID),
CONSTRAINT FK_ContractsClients FOREIGN KEY
(ClientID) REFERENCES Clients,
CONSTRAINT FK_ContractsContractTypes FOREIGN KEY
(ContractTypeID) REFERENCES ContractTypes)
CREATE TABLE ContractsContacts
(ContractID int not null,
ContactID int not null,
CONSTRAINT PK_ContractsContacts PRIMARY KEY
(ContractID, ContactID),
CONSTRAINT FK_CC_Contracts FOREIGN KEY (ContractID)
REFERENCES Contracts,
CONSTRAINT FK_CC_Contacts FOREIGN KEY (ContactID)
REFERENCES Contacts)
CREATE TABLE Projects
(ProjectID int not null,
ProjectName varchar(50),
HourCapAmount decimal(10,2),
ProjectManagerID int,
ContractID int,
CONSTRAINT PK_Projects PRIMARY KEY (ProjectID),
CONSTRAINT FK_ProjectsEmployees FOREIGN KEY
(ProjectManagerID) REFERENCES Employees,
CONSTRAINT FK_ProjectsContracts FOREIGN KEY
(ContractID) REFERENCES Contracts)
CREATE TABLE EmployeesProjects
(EmpID int not null,
ProjectID int not null,
StartDate smalldatetime,
EndDate smalldatetime,
CONSTRAINT PK_EmployeesProjects PRIMARY KEY
(EmpID, ProjectID),
CONSTRAINT FK_EP_Employees FOREIGN KEY (EmpID)
REFERENCES Employees,
CONSTRAINT FK_EP_Projects FOREIGN KEY (ProjectID)
REFERENCES Projects)
CREATE TABLE Timesheets
(TimesheetID int not null,
SupervisorApproveDate smalldatetime,
CONSTRAINT PK_Timesheets PRIMARY KEY
(TimesheetID))
CREATE TABLE WorkHours
(EmpID int not null,
ProjectID int not null,
WH_Day int not null,
WH_Month int not null,
WH_Year int not null,
HoursWorked float,
TimesheetID int,
CONSTRAINT PK_WorkHours PRIMARY KEY (EmpID,
ProjectID, WH_Day, WH_Month, WH_Year),
CONSTRAINT FK_WorkHoursEmployees FOREIGN KEY
(EmpID) REFERENCES Employees,
CONSTRAINT FK_WorkHoursProjects FOREIGN KEY
(ProjectID) REFERENCES Projects,
CONSTRAINT FK_WorkHoursTimesheets FOREIGN KEY
(TimesheetID) REFERENCES Timesheets)
CREATE TABLE BenefitsTaken
(EmpID int not null,
BenefitTypeID int not null,
BT_Day int not null,
BT_Month int not null,
BT_Year int not null,
HoursTaken float,
TimesheetID int,
CONSTRAINT PK_BenefitsTaken PRIMARY KEY (EmpID,
BenefitTypeID, BT_Day, BT_Month, BT_Year),
CONSTRAINT FK_BenefitsTakenEmployees FOREIGN KEY
(EmpID) REFERENCES Employees,
CONSTRAINT FK_BenefitsTakenBenefitTypes FOREIGN
KEY (BenefitTypeID) REFERENCES BenefitTypes,
CONSTRAINT FK_BenefitsTakenTimesheets FOREIGN KEY
(TimesheetID) REFERENCES Timesheets)
Data Section
The following information is currently maintained in various
spreadsheets throughout CMS. Data from these spreadsheets
must be uploaded into your newly created tables before the
database can be considered operational.
Regions
ID Abbr. Region Name
1 NAR North America
2 CALA Central and Latin America
3 APAC Asia and Pacific
4 EMEA Europe, Middle East, and Africa
Countries
ID Country Name Weekly Hours Holidays
Vacation Days Region
1 United States 40 11 10
NAR
2 Canada 40 12 15
NAR
3 United Kingdom 38 10 10
EMEA
4 France 38 14 10
EMEA
5 Ireland 38 10 15
EMEA
6 Italy 35 9 20 EMEA
7 Thailand 40 17 20 APAC
8 Singapore 40 17 21 APAC
9 Panama 40 12 15 CALA
Benefit Types
ID Benefit Type Name
1 Vacation
2 Holiday
3 Jury Duty
4 Maternity Leave
5 Paternity Leave
6 Military Duty
Contact Types
ID Contact Type Name
1 Systems Engineer
2 Sales
3 Billing
Contract Types
ID Contract Type Name
1 Maintenance
2 Fixed Price
3 License
4 Time and Materials
Clients
IDLegal NameCommon Address1Address2CityStateZip
Country
1BMA British Mobile 130 Wake Dr. WakeNC24539
US
2FT France Mobile 123 East St. Suite #2 Paris45678
France
3IBC IBC 456 Main Johor 78945
Singapore
4MTM MTM 6789 First St. MeadGA45678
US
5 BT Britain Tele 98769 Park St. Level 3London 48695
UK
Contracts
ID ContractDesc Contract Type Client
1 Work Order 1 Maint FT
2 Work Order 1 T&M BT
3 Work Order 1 Fixed Price IBC
4 Work Order 2 Maint IBC
5 Work Order 1 Fixed Price MTM
6 Work Order 2 T&M FT
Contacts
IDFirstLast Addr1 Addr2CityState Zip
CountryType
1BuggBunny 123 Looney NoWhere AK45678 US
SysEng
2ElmerFudd 789 Park Pl. Apt 3Skyville NM45678 US
Billing
3DaffyDuck 45678 One St. Norwood 45678 UK
Sales
4DarthVader 456 Two St. Towns 47896 UK
Sales
5LukeSky #4 Tatooine Paris 45678
FranceBilling
6PrincessLea 723 Coruscant Rome 45678
ItalySysEng
7JohnDoe 987 Main St. Paris 78945
FranceSysEng
8JaneDoe 7658 Oak Ln. Crue VA 45678 USSysEng
Contracts’ Contacts
Contract Client Contact Name
Work Order 1 BT Daffy Duck
Work Order 1 FT John Doe, Jane Doe, Princess
Lea
Work Order 2 FT Elmer Fudd
Work Order 1 IBC Buggs Bunny
Work Order2 IBC Luke Sky
Work Order 2 IBC Darth Vader
Work Order 1 MTM Daffy Duck
EmployeeTitles
ID Title
1 Consultant
2 Analyst
3 Director
BillingRates
TitleID Level Rate Currency
1 1 150.00 USD
1 2 200.00 USD
1 3 300.00 USD
2 1 50.00 USD
2 2 100.00 USD
2 3 150.00 USD
3 1 250.00 USD
3 2 350.00 USD
3 3 450.00 USD
Employees
ID First Last CountryID Email Salary
Title LevelID
1 Matthew Smith 1 [email protected] 45000
Consultant 1
2 Mark Jones 1 [email protected]
94000 Director 1
3 Luke Rice 4 [email protected] 65000
Consultant 2
4 John Rich 5 [email protected] 74000
Consultant3
5 James Doe 6 [email protected] 40000
Analyst1
6 Peter Pride 3 [email protected] 60000
Analyst2
7 Eric Potter 3 [email protected] 81000
Consultant 3
8 Paul Davis 1 [email protected]103000
Director 2
Projects
ID Project Name HourCapAmount ProjectManager
Contracts Client
1 IBC – India 120 Davis Work Order
2 IBC
2 FT-Maint 100 Doe Work Order 2 FT
3 BT – WO 1 Time 270 Rich Work Order1 BT
4 BT – WO1 Materials Rich Work
Order1 BT
5 IBC - WO1 Davis Work
Order 1 IBC
6 IBC – WO2 Davis Work
Order2 IBC
7 MTM – WO1 Pride Work
Order1 MTM
8 FT – WO2 Time 500 Doe Work Order2 FT
9 FT –WO2 Materials Doe Work
Order2 FT
Project-Employee Assignments
Employee Project StartDate EndDate
Doe IBC-India 1/1/2013
Doe IBC - WO1 5/7/2013
Doe BT – WO1 Materials 2/1/2013 4/30/2013
Smith FT-Maint 2/1/2013
Jones FT-Maint 3/1/2013
Rice MTM – WO1 1/1/2013
WorkHours
Employee Project Day Month Year HoursWorked
TimeSheet
Doe IBC-India 2 4 2013 8 1
Doe IBC-India 3 4 2013 8 1
Doe IBC-India 4 4 2013 8 1
Doe IBC-India 5 4 2013 8 1
Doe IBC-India 6 4 2013 8 1
Doe IBC-India 9 4 2013 8 1
Doe IBC-India 10 4 2013 8 1
Doe IBC-India 11 4 2013 8 1
Doe IBC-India 12 4 2013 8 1
Doe IBC-India 13 4 2013 4 1
Doe IBC - WO1 13 4 2013 4 1
Doe IBC - WO1 16 4 2013 4 1
Doe IBC - WO1 16 4 2013 4 1
Doe IBC-India 17 4 2013 8 1
Doe IBC-India 18 4 2013 8 1
Doe IBC-India 19 4 2013 5 1
Doe IBC-WO1 19 4 2013 3 1
Doe IBC-India 20 4 2013 8 1
Doe IBC-India 23 4 2013 8 1
Doe IBC-India 24 4 2013 8 1
Doe IBC-India 26 4 2013 8 1
Doe IBC-India 27 4 2013 8 1
Doe IBC-India 30 4 2013 8 1
Doe IBC-WO1 1 5 2013 8 2
Doe IBC-WO1 2 5 2013 8 2
Doe IBC-WO1 3 5 2013 8 2
Doe IBC-WO1 4 5 2013 8 2
Doe IBC-India 7 5 2013 8 2
Doe IBC-WO1 8 5 2013 8 2
Doe IBC-WO1 9 5 2013 8 2
Doe IBC-WO1 10 5 2013 8 2
Doe IBC-WO1 11 5 2013 8 2
Doe IBC-India 14 5 2013 8 2
Doe IBC-WO1 15 5 2013 8 2
Doe IBC-WO1 16 5 2013 8 2
Doe IBC-WO1 17 5 2013 8 2
Doe IBC-WO1 18 5 2013 8 2
Doe IBC-India 21 5 2013 8 2
Doe IBC-WO1 22 5 2013 8 2
Doe IBC-WO1 23 5 2013 8 2
Doe IBC-WO1 24 5 2013 8 2
Doe IBC-India 28 5 2013 8 2
Doe IBC-WO1 29 5 2013 8 2
Doe IBC-WO1 30 5 2013 8 2
Doe IBC-WO1 31 5 2013 8 2
Jones FT-Maint 2 4 2013 8 3
Jones FT-Maint 3 4 2013 8 3
Jones FT-Maint 4 4 2013 8 3
Jones FT-Maint 5 4 2013 8 3
Jones FT-Maint 6 4 2013 8 3
Jones FT-Maint 9 4 2013 8 3
Jones FT-Maint 10 4 2013 8 3
Jones FT-Maint 11 4 2013 8 3
Jones FT-Maint 12 4 2013 8 3
Jones FT-Maint 13 4 2013 15 3
Jones FT-Maint 16 4 2013 14 3
Jones FT-Maint 17 4 2013 8 3
Jones FT-Maint 18 4 2013 8 3
Jones FT-Maint 19 4 2013 10 3
Jones FT-Maint 20 4 2013 8 3
Jones FT-Maint 23 4 2013 8 3
Jones FT-Maint 24 4 2013 8 3
Jones FT-Maint 26 4 2013 8 3
Jones FT-Maint 27 4 2013 8 3
Jones FT-Maint 30 4 2013 8 3
Jones FT-Maint 1 5 2013 8 4
Jones FT-Maint 2 5 2013 8 4
Jones FT-Maint 3 5 2013 8 4
Jones FT-Maint 4 5 2013 8 4
Jones FT-Maint 7 5 2013 8 4
Jones FT-Maint 8 5 2013 8 4
Jones FT-Maint 9 5 2013 8 4
Jones FT-Maint 10 5 2013 8 4
Jones FT-Maint 11 5 2013 8 4
Jones FT-Maint 14 5 2013 8 4
Jones FT-Maint 15 5 2013 8 4
Jones FT-Maint 16 5 2013 8 4
Jones FT-Maint 17 5 2013 8 4
Jones FT-Maint 18 5 2013 8 4
Jones FT-Maint 21 5 2013 8 4
Jones FT-Maint 22 5 2013 8 4
Jones FT-Maint 28 5 2013 8 4
Jones FT-Maint 29 5 2013 8 4
Jones FT-Maint 30 5 2013 8 4
Jones FT-Maint 31 5 2013 8 4
Smith FT-Maint 2 4 2013 8 5
Smith FT-Maint 3 4 2013 8 5
Smith FT-Maint 4 4 2013 8 5
Smith FT-Maint 5 4 2013 8 5
Smith FT-Maint 9 4 2013 8 5
Smith FT-Maint 10 4 2013 8 5
Smith FT-Maint 11 4 2013 8 5
Smith FT-Maint 12 4 2013 8 5
Smith FT-Maint 16 4 2013 14 5
Smith FT-Maint 17 4 2013 8 5
Smith FT-Maint 18 4 2013 8 5
Smith FT-Maint 19 4 2013 10 5
Smith FT-Maint 20 4 2013 8 5
Smith FT-Maint 23 4 2013 8 5
Smith FT-Maint 24 4 2013 8 5
Smith FT-Maint 26 4 2013 8 5
Smith FT-Maint 27 4 2013 8 5
Smith FT-Maint 30 4 2013 8 5
Smith FT-Maint 1 5 2013 8 6
Smith FT-Maint 2 5 2013 8 6
Smith FT-Maint 3 5 2013 8 6
Smith FT-Maint 4 5 2013 8 6
Smith FT-Maint 7 5 2013 8 6
Smith FT-Maint 8 5 2013 8 6
Smith FT-Maint 9 5 2013 8 6
Smith FT-Maint 10 5 2013 8 6
Smith FT-Maint 11 5 2013 8 6
Smith FT-Maint 14 5 2013 8 6
Smith FT-Maint 15 5 2013 8 6
Rice MTM – WO1 2 4 2013 8 7
Rice MTM – WO1 3 4 2013 8 7
Rice MTM – WO1 4 4 2013 8 7
Rice MTM – WO1 5 4 2013 8 7
Rice MTM – WO1 6 4 2013 8 7
Rice MTM – WO1 9 4 2013 8 7
Rice MTM – WO1 10 4 2013 8 7
Rice MTM – WO1 11 4 2013 8 7
Rice MTM – WO1 12 4 2013 8 7
Rice MTM – WO1 16 4 2013 14 7
Rice MTM – WO1 17 4 2013 8 7
Rice MTM – WO1 18 4 2013 8 7
Rice MTM – WO1 19 4 2013 10 7
Rice MTM – WO1 20 4 2013 8 7
Rice MTM – WO1 23 4 2013 8 7
Rice MTM – WO1 24 4 2013 8 7
Rice MTM – WO1 26 4 2013 8 7
Rice MTM – WO1 27 4 2013 8 7
Rice MTM – WO1 30 4 2013 8 7
Rice MTM – WO1 1 5 2013 8 8
Rice MTM – WO1 2 5 2013 8 8
Rice MTM – WO1 3 5 2013 8 8
Rice MTM – WO1 4 5 2013 8 8
Rice MTM – WO1 7 5 2013 8 8
Rice MTM – WO1 8 5 2013 8 8
Rice MTM – WO1 9 5 2013 8 8
Rice MTM – WO1 10 5 2013 8 8
Rice MTM – WO1 11 5 2013 8 8
Rice MTM – WO1 14 5 2013 8 8
Rice MTM – WO1 15 5 2013 8 8
Benefits Taken
Employee Day Month Year BenefitType TimeSheet
Doe 25 4 2013 Holiday 1
Doe 25 5 2013 Holiday 2
Jones 25 4 2013 Holiday 3
Jones 23 5 2013 Vacation 3
Jones 24 5 2013 Vacation 4
Jones 25 5 2013 Holiday 4
Smith 6 4 2013 Vacation 5
Smith 25 4 2013 Holiday 5
Smith 25 5 2013 Holiday 6
Rice 25 4 2013 Holiday 7
Rice 25 5 2013 Holiday 8
Timesheets
ID SupervisorApproveDate
1 4/30/2013
2 5/31/2013
3 4/30/2013
4 5/31/2013
5 4/30/2013
6 5/31/2013
7 4/30/2013
8 5/31/2013
Part B: Reports
1. Human Resources:
The HR department requires a list of all the employees who are
employed by CMS. This information should be organized as
follows:
Region
Country
Employee name (Last, First)
Title + Level (e.g. “Consultant - 1”)
Salary (in USD)
*Sort data in ascending order first by region, then by country,
then by employee last name, then by title, and then by salary.
Instructions:
For this assignment, write the query that produces the results as
described above.
2. Invoicing
Accounting requires information to produce invoices. For each
client, CMS’s invoicing controller must know the following
information as of the last day of each month:
Client name
Contract name(s)
Project(s)
Employees who logged hours to a project from the first day of
the current month until the last day of the current month
Totalnumber of hours logged for each employee during the
month
Employee rate
Total charges per employee (i.e. employee rate x employee
hours worked)
Billing contact(s)(name, address)for each contract
*Sort data in ascending order first by client, then by project,
and then by employee.
Instructions:
All of this information should be produced using a single query
that can serve as the basis for a report.Do not use views or
stored procedures in conjunction with your query.
For this assignment, you will write your query for only the
month of April 2013. You may hardcode the month number in
your query. In the realworld, you would likely run this report
for the current month, in which case you would want to use the
getdate() function to retrieve the current date. Conversely, you
might produce this query as a stored procedure that takes a
given month as an argument and returns a resultset. For your
assignment, however, just assume this report will be run for
April 2013 and hardcode this date in your query to produce the
results.
3. Benefit Tracking
The HR department requires a report that provides information
on benefit information. Assume a calendar year whereby new
benefit allotments are granted as of January 1 and must be used
by December 31 of same year. No carryover benefits are
allowed.
Number of benefits days allotted to each employee
Number of benefit days taken year-to-date
Number of benefit days remaining in the calendar year
Number of holidays allotted to each employee
Number of holidays taken year-to-date
Number of holidays remaining in the calendar year
*Data mustbe sorted in ascending order by employee last name.
Instructions:
For this assignment, write a query that produces the results
described above. Assume that you are running the report for the
2013 calendar year. As in the previous report, in the realworld,
you would likely use the getdate() function to determine the
current date and run the report from the beginning of the current
year until the present time. For this assignment, however, you
may hardcode the year 2013 in your query and retrieve all of the
data for that year.
4. Management Exception Reporting
a. Management must keep track of employees whose combined
hours have exceeded the maximum allowed hours on projects.
This report must be run before invoicing occurs in order to
prevent billing in excess of contractual amounts. Show only
projects whose cap amounts have been exceeded.
Project name
Maximum allowed hours per project
Total hours worked on project
Overage (the difference between the cap and actual hours)
*Sort data by project name.
b. In a separate query, show the details for the projects whose
cap amounts have been exceeded:
Project name
Employees who worked on project
Total hours worked on project per employee
*Sort data by project name and then by employees who worked
on the project
Instructions:
For this assignment, write a query for 4(a) and a separate query
for 4(b). The results mustreflect the requirements described
above.
5. Payroll
The payroll department requires a report of employees who are
logging more hours per week than they are legally required to
work per country stipulations. These employees are paid
overtime wages for hours worked in excess of weekly stipulated
hours.
Employee name
Employee country
Weekly Hours per employee per country
Hours logged by employee in current week
Instructions:
For this assignment, produce a query that determines employees
who have incurred overtime during April 2013.
Phase II Deliverables:
1. In a Word document, take screen shots of the data in each of
your tables using basic SELECT statements.
For example, SELECT * from Clients
2. Write queries for each of the reports above. In the same Word
document, include screenshots of your queries from SQL Server
Express (or SQL Server). Below EACH query, include (via
screen shots) the results of each query.
3. Name your Word document as follows: “Phase II CMS
Project – your last name followed by your first initial.”
Using the link provided in Blackboard, upload the CMS Project
– Phase II by 11:59 p.m. (ET) on Friday of Module/Week 8.
Page 1 of 16
Bills
Charges
BillingRates
Rate
Currency
EmpIsA
EmployeeTitles
TitleID
Title
WorksIn
LocatedIn
IsATypeOf
BenefitTypes
BenefitTypeID
BenefitTypeName
Totals
Takes
BenefitsTaken
Day
Month
Year
HoursTaken
IsIn
LivesIn
Regions
RegionID
RegionName
Countries
CountryID
CountryName
WeeklyHours
Holidays
VacationDays
Supports
EndDate
StartDate
Manages
Summarizes
Records
WorkHours
Day
Month
Year
HoursWorked
Logs
HasType
Signs
Has
Supervises
Includes
AssignedTo
TimeSheets
TimeSheetID
SupApproveDate
ContactTypes
ContactTypeID
ContactTypeName
Projects
ProjectID
ProjectName
HourCapAmount
Contacts
ContactID
ContactFirstName
ContactLastName
ContactAddrLine1
ContactAddrLine2
ContactCity
ContactState
ContactZip
ContractTypes
ContractTypeID
ContractTypeName
Contracts
ContractID
ContractDesc
Clients
ClientID
LegalName
CommonName
AddrLine1
AddrLine2
City
State
Zip
Employees
EmpID
FirstName
LastName
OfficeID
Email
Salary
TitleID
Level
ch aptEr EiGht  The WoRk pl Ace (1) BAsic issues      311.docx

More Related Content

Similar to ch aptEr EiGht  The WoRk pl Ace (1) BAsic issues      311.docx

Choose a work that was composed about a conflict or time of confli.docx
Choose a work that was composed about a conflict or time of confli.docxChoose a work that was composed about a conflict or time of confli.docx
Choose a work that was composed about a conflict or time of confli.docxjessiep6
 
Apa Essay Purdue Owl
Apa Essay Purdue OwlApa Essay Purdue Owl
Apa Essay Purdue OwlMary Ballek
 
Example Empathy Essay. Online assignment writing service.
Example Empathy Essay. Online assignment writing service.Example Empathy Essay. Online assignment writing service.
Example Empathy Essay. Online assignment writing service.Jenny Price
 
Effect Of Social Networking Sites Essay. Online assignment writing service.
Effect Of Social Networking Sites Essay. Online assignment writing service.Effect Of Social Networking Sites Essay. Online assignment writing service.
Effect Of Social Networking Sites Essay. Online assignment writing service.Shannon Holt
 
Pin On Writing Cats. Online assignment writing service.
Pin On Writing Cats. Online assignment writing service.Pin On Writing Cats. Online assignment writing service.
Pin On Writing Cats. Online assignment writing service.Jenny Alexander
 
Mla Style Research Paper. The Format Of The Researc
Mla Style Research Paper. The Format Of The ResearcMla Style Research Paper. The Format Of The Researc
Mla Style Research Paper. The Format Of The ResearcAshley Carter
 
Organizational Change and Stress ManagementSource Jeff Moore.docx
Organizational Change and Stress ManagementSource Jeff Moore.docxOrganizational Change and Stress ManagementSource Jeff Moore.docx
Organizational Change and Stress ManagementSource Jeff Moore.docxalfred4lewis58146
 
Abigail Williams Essay.pdf
Abigail Williams Essay.pdfAbigail Williams Essay.pdf
Abigail Williams Essay.pdfAlicia Galindo
 
Essay On Cultures. essay about culture. Cultural Differences Essay Essay on ...
Essay On Cultures. essay about culture. Cultural Differences Essay  Essay on ...Essay On Cultures. essay about culture. Cultural Differences Essay  Essay on ...
Essay On Cultures. essay about culture. Cultural Differences Essay Essay on ...Shannon Bennett
 
Assignment IValue-Based Reimbursement (250-300 words) $10Res.docx
Assignment IValue-Based Reimbursement (250-300 words) $10Res.docxAssignment IValue-Based Reimbursement (250-300 words) $10Res.docx
Assignment IValue-Based Reimbursement (250-300 words) $10Res.docxssuser562afc1
 
Could your customer attrition problem be a symptom of larger issues?
Could your customer attrition problem be a symptom of larger issues?Could your customer attrition problem be a symptom of larger issues?
Could your customer attrition problem be a symptom of larger issues?Yvette Dubel
 
How To Write A Scholarship Essay Introduction 7
How To Write A Scholarship Essay Introduction 7How To Write A Scholarship Essay Introduction 7
How To Write A Scholarship Essay Introduction 7Angela Tyger
 
MGT 4337 Business Policy and Decision MakingModule 2 Analysis Art
MGT 4337 Business Policy and Decision MakingModule 2 Analysis ArtMGT 4337 Business Policy and Decision MakingModule 2 Analysis Art
MGT 4337 Business Policy and Decision MakingModule 2 Analysis ArtDioneWang844
 
Technical Paper Final Project PlanEspecially for You Jewelers i.docx
Technical Paper Final Project PlanEspecially for You Jewelers i.docxTechnical Paper Final Project PlanEspecially for You Jewelers i.docx
Technical Paper Final Project PlanEspecially for You Jewelers i.docxssuserf9c51d
 
MLA In-Text Citations ENG 206 Introduction To Literature
MLA In-Text Citations  ENG 206 Introduction To LiteratureMLA In-Text Citations  ENG 206 Introduction To Literature
MLA In-Text Citations ENG 206 Introduction To LiteratureSandra Valenzuela
 
Informative Essay Outline Template
Informative Essay Outline TemplateInformative Essay Outline Template
Informative Essay Outline TemplateKaren Mosley
 
COMMON ETHICAL PROBLEMS OF INDIVIDUALSBA 354COLLEG.docx
COMMON ETHICAL PROBLEMS OF INDIVIDUALSBA 354COLLEG.docxCOMMON ETHICAL PROBLEMS OF INDIVIDUALSBA 354COLLEG.docx
COMMON ETHICAL PROBLEMS OF INDIVIDUALSBA 354COLLEG.docxcargillfilberto
 

Similar to ch aptEr EiGht  The WoRk pl Ace (1) BAsic issues      311.docx (19)

Choose a work that was composed about a conflict or time of confli.docx
Choose a work that was composed about a conflict or time of confli.docxChoose a work that was composed about a conflict or time of confli.docx
Choose a work that was composed about a conflict or time of confli.docx
 
Apa Essay Purdue Owl
Apa Essay Purdue OwlApa Essay Purdue Owl
Apa Essay Purdue Owl
 
Example Empathy Essay. Online assignment writing service.
Example Empathy Essay. Online assignment writing service.Example Empathy Essay. Online assignment writing service.
Example Empathy Essay. Online assignment writing service.
 
Effect Of Social Networking Sites Essay. Online assignment writing service.
Effect Of Social Networking Sites Essay. Online assignment writing service.Effect Of Social Networking Sites Essay. Online assignment writing service.
Effect Of Social Networking Sites Essay. Online assignment writing service.
 
Pin On Writing Cats. Online assignment writing service.
Pin On Writing Cats. Online assignment writing service.Pin On Writing Cats. Online assignment writing service.
Pin On Writing Cats. Online assignment writing service.
 
Mla Style Research Paper. The Format Of The Researc
Mla Style Research Paper. The Format Of The ResearcMla Style Research Paper. The Format Of The Researc
Mla Style Research Paper. The Format Of The Researc
 
My Student Life Essay
My Student Life EssayMy Student Life Essay
My Student Life Essay
 
Organizational Change and Stress ManagementSource Jeff Moore.docx
Organizational Change and Stress ManagementSource Jeff Moore.docxOrganizational Change and Stress ManagementSource Jeff Moore.docx
Organizational Change and Stress ManagementSource Jeff Moore.docx
 
Abigail Williams Essay.pdf
Abigail Williams Essay.pdfAbigail Williams Essay.pdf
Abigail Williams Essay.pdf
 
Essay On Cultures. essay about culture. Cultural Differences Essay Essay on ...
Essay On Cultures. essay about culture. Cultural Differences Essay  Essay on ...Essay On Cultures. essay about culture. Cultural Differences Essay  Essay on ...
Essay On Cultures. essay about culture. Cultural Differences Essay Essay on ...
 
Assignment IValue-Based Reimbursement (250-300 words) $10Res.docx
Assignment IValue-Based Reimbursement (250-300 words) $10Res.docxAssignment IValue-Based Reimbursement (250-300 words) $10Res.docx
Assignment IValue-Based Reimbursement (250-300 words) $10Res.docx
 
Global
GlobalGlobal
Global
 
Could your customer attrition problem be a symptom of larger issues?
Could your customer attrition problem be a symptom of larger issues?Could your customer attrition problem be a symptom of larger issues?
Could your customer attrition problem be a symptom of larger issues?
 
How To Write A Scholarship Essay Introduction 7
How To Write A Scholarship Essay Introduction 7How To Write A Scholarship Essay Introduction 7
How To Write A Scholarship Essay Introduction 7
 
MGT 4337 Business Policy and Decision MakingModule 2 Analysis Art
MGT 4337 Business Policy and Decision MakingModule 2 Analysis ArtMGT 4337 Business Policy and Decision MakingModule 2 Analysis Art
MGT 4337 Business Policy and Decision MakingModule 2 Analysis Art
 
Technical Paper Final Project PlanEspecially for You Jewelers i.docx
Technical Paper Final Project PlanEspecially for You Jewelers i.docxTechnical Paper Final Project PlanEspecially for You Jewelers i.docx
Technical Paper Final Project PlanEspecially for You Jewelers i.docx
 
MLA In-Text Citations ENG 206 Introduction To Literature
MLA In-Text Citations  ENG 206 Introduction To LiteratureMLA In-Text Citations  ENG 206 Introduction To Literature
MLA In-Text Citations ENG 206 Introduction To Literature
 
Informative Essay Outline Template
Informative Essay Outline TemplateInformative Essay Outline Template
Informative Essay Outline Template
 
COMMON ETHICAL PROBLEMS OF INDIVIDUALSBA 354COLLEG.docx
COMMON ETHICAL PROBLEMS OF INDIVIDUALSBA 354COLLEG.docxCOMMON ETHICAL PROBLEMS OF INDIVIDUALSBA 354COLLEG.docx
COMMON ETHICAL PROBLEMS OF INDIVIDUALSBA 354COLLEG.docx
 

More from cravennichole326

Examine how nature is discussed throughout The Open Boat.”  Loo.docx
Examine how nature is discussed throughout The Open Boat.”  Loo.docxExamine how nature is discussed throughout The Open Boat.”  Loo.docx
Examine how nature is discussed throughout The Open Boat.”  Loo.docxcravennichole326
 
Examine All Children Can Learn. Then, search the web for effec.docx
Examine All Children Can Learn. Then, search the web for effec.docxExamine All Children Can Learn. Then, search the web for effec.docx
Examine All Children Can Learn. Then, search the web for effec.docxcravennichole326
 
Examine each of these items, which are available on the internet .docx
Examine each of these items, which are available on the internet .docxExamine each of these items, which are available on the internet .docx
Examine each of these items, which are available on the internet .docxcravennichole326
 
Examine a web browser interface and describe the various forms .docx
Examine a web browser interface and describe the various forms .docxExamine a web browser interface and describe the various forms .docx
Examine a web browser interface and describe the various forms .docxcravennichole326
 
Examine a scenario that includes an inter-group conflict. In this sc.docx
Examine a scenario that includes an inter-group conflict. In this sc.docxExamine a scenario that includes an inter-group conflict. In this sc.docx
Examine a scenario that includes an inter-group conflict. In this sc.docxcravennichole326
 
Examine a current law, or a bill proposing a law, that has to do wit.docx
Examine a current law, or a bill proposing a law, that has to do wit.docxExamine a current law, or a bill proposing a law, that has to do wit.docx
Examine a current law, or a bill proposing a law, that has to do wit.docxcravennichole326
 
Exam IT 505Multiple Choice (20 questions , 2 points each)Pleas.docx
Exam IT 505Multiple Choice (20 questions , 2 points each)Pleas.docxExam IT 505Multiple Choice (20 questions , 2 points each)Pleas.docx
Exam IT 505Multiple Choice (20 questions , 2 points each)Pleas.docxcravennichole326
 
EXAMEstructura 8.1 - Miniprueba AVerbosCom.docx
EXAMEstructura 8.1 - Miniprueba AVerbosCom.docxEXAMEstructura 8.1 - Miniprueba AVerbosCom.docx
EXAMEstructura 8.1 - Miniprueba AVerbosCom.docxcravennichole326
 
Examine current practice guidelines related to suicide screeni.docx
Examine current practice guidelines related to suicide screeni.docxExamine current practice guidelines related to suicide screeni.docx
Examine current practice guidelines related to suicide screeni.docxcravennichole326
 
Examine Case Study Pakistani Woman with Delusional Thought Processe.docx
Examine Case Study Pakistani Woman with Delusional Thought Processe.docxExamine Case Study Pakistani Woman with Delusional Thought Processe.docx
Examine Case Study Pakistani Woman with Delusional Thought Processe.docxcravennichole326
 
Examination of Modern LeadershipModule 1 Leadership History, F.docx
Examination of Modern LeadershipModule 1 Leadership History, F.docxExamination of Modern LeadershipModule 1 Leadership History, F.docx
Examination of Modern LeadershipModule 1 Leadership History, F.docxcravennichole326
 
Examine current international OB issues that challenge organizat.docx
Examine current international OB issues that challenge organizat.docxExamine current international OB issues that challenge organizat.docx
Examine current international OB issues that challenge organizat.docxcravennichole326
 
Executive Program Practical Connection Assignment .docx
Executive Program Practical Connection Assignment   .docxExecutive Program Practical Connection Assignment   .docx
Executive Program Practical Connection Assignment .docxcravennichole326
 
Executive Program Practical Connection Assignment Component .docx
Executive Program Practical Connection Assignment Component .docxExecutive Program Practical Connection Assignment Component .docx
Executive Program Practical Connection Assignment Component .docxcravennichole326
 
Executive Program Group Project Assignment Component Profi.docx
Executive Program Group Project Assignment Component Profi.docxExecutive Program Group Project Assignment Component Profi.docx
Executive Program Group Project Assignment Component Profi.docxcravennichole326
 
Executive Practical Connection Activityit is a priority that stu.docx
Executive Practical Connection Activityit is a priority that stu.docxExecutive Practical Connection Activityit is a priority that stu.docx
Executive Practical Connection Activityit is a priority that stu.docxcravennichole326
 
Executive FunctionThe Search for an Integrated AccountMari.docx
Executive FunctionThe Search for an Integrated AccountMari.docxExecutive FunctionThe Search for an Integrated AccountMari.docx
Executive FunctionThe Search for an Integrated AccountMari.docxcravennichole326
 
Executive Compensation and IncentivesMartin J. ConyonEx.docx
Executive Compensation and IncentivesMartin J. ConyonEx.docxExecutive Compensation and IncentivesMartin J. ConyonEx.docx
Executive Compensation and IncentivesMartin J. ConyonEx.docxcravennichole326
 
Executing the StrategyLearning ObjectivesAfter reading.docx
Executing the StrategyLearning ObjectivesAfter reading.docxExecuting the StrategyLearning ObjectivesAfter reading.docx
Executing the StrategyLearning ObjectivesAfter reading.docxcravennichole326
 
Executing Strategies in a Global Environment Examining the Case of .docx
Executing Strategies in a Global Environment Examining the Case of .docxExecuting Strategies in a Global Environment Examining the Case of .docx
Executing Strategies in a Global Environment Examining the Case of .docxcravennichole326
 

More from cravennichole326 (20)

Examine how nature is discussed throughout The Open Boat.”  Loo.docx
Examine how nature is discussed throughout The Open Boat.”  Loo.docxExamine how nature is discussed throughout The Open Boat.”  Loo.docx
Examine how nature is discussed throughout The Open Boat.”  Loo.docx
 
Examine All Children Can Learn. Then, search the web for effec.docx
Examine All Children Can Learn. Then, search the web for effec.docxExamine All Children Can Learn. Then, search the web for effec.docx
Examine All Children Can Learn. Then, search the web for effec.docx
 
Examine each of these items, which are available on the internet .docx
Examine each of these items, which are available on the internet .docxExamine each of these items, which are available on the internet .docx
Examine each of these items, which are available on the internet .docx
 
Examine a web browser interface and describe the various forms .docx
Examine a web browser interface and describe the various forms .docxExamine a web browser interface and describe the various forms .docx
Examine a web browser interface and describe the various forms .docx
 
Examine a scenario that includes an inter-group conflict. In this sc.docx
Examine a scenario that includes an inter-group conflict. In this sc.docxExamine a scenario that includes an inter-group conflict. In this sc.docx
Examine a scenario that includes an inter-group conflict. In this sc.docx
 
Examine a current law, or a bill proposing a law, that has to do wit.docx
Examine a current law, or a bill proposing a law, that has to do wit.docxExamine a current law, or a bill proposing a law, that has to do wit.docx
Examine a current law, or a bill proposing a law, that has to do wit.docx
 
Exam IT 505Multiple Choice (20 questions , 2 points each)Pleas.docx
Exam IT 505Multiple Choice (20 questions , 2 points each)Pleas.docxExam IT 505Multiple Choice (20 questions , 2 points each)Pleas.docx
Exam IT 505Multiple Choice (20 questions , 2 points each)Pleas.docx
 
EXAMEstructura 8.1 - Miniprueba AVerbosCom.docx
EXAMEstructura 8.1 - Miniprueba AVerbosCom.docxEXAMEstructura 8.1 - Miniprueba AVerbosCom.docx
EXAMEstructura 8.1 - Miniprueba AVerbosCom.docx
 
Examine current practice guidelines related to suicide screeni.docx
Examine current practice guidelines related to suicide screeni.docxExamine current practice guidelines related to suicide screeni.docx
Examine current practice guidelines related to suicide screeni.docx
 
Examine Case Study Pakistani Woman with Delusional Thought Processe.docx
Examine Case Study Pakistani Woman with Delusional Thought Processe.docxExamine Case Study Pakistani Woman with Delusional Thought Processe.docx
Examine Case Study Pakistani Woman with Delusional Thought Processe.docx
 
Examination of Modern LeadershipModule 1 Leadership History, F.docx
Examination of Modern LeadershipModule 1 Leadership History, F.docxExamination of Modern LeadershipModule 1 Leadership History, F.docx
Examination of Modern LeadershipModule 1 Leadership History, F.docx
 
Examine current international OB issues that challenge organizat.docx
Examine current international OB issues that challenge organizat.docxExamine current international OB issues that challenge organizat.docx
Examine current international OB issues that challenge organizat.docx
 
Executive Program Practical Connection Assignment .docx
Executive Program Practical Connection Assignment   .docxExecutive Program Practical Connection Assignment   .docx
Executive Program Practical Connection Assignment .docx
 
Executive Program Practical Connection Assignment Component .docx
Executive Program Practical Connection Assignment Component .docxExecutive Program Practical Connection Assignment Component .docx
Executive Program Practical Connection Assignment Component .docx
 
Executive Program Group Project Assignment Component Profi.docx
Executive Program Group Project Assignment Component Profi.docxExecutive Program Group Project Assignment Component Profi.docx
Executive Program Group Project Assignment Component Profi.docx
 
Executive Practical Connection Activityit is a priority that stu.docx
Executive Practical Connection Activityit is a priority that stu.docxExecutive Practical Connection Activityit is a priority that stu.docx
Executive Practical Connection Activityit is a priority that stu.docx
 
Executive FunctionThe Search for an Integrated AccountMari.docx
Executive FunctionThe Search for an Integrated AccountMari.docxExecutive FunctionThe Search for an Integrated AccountMari.docx
Executive FunctionThe Search for an Integrated AccountMari.docx
 
Executive Compensation and IncentivesMartin J. ConyonEx.docx
Executive Compensation and IncentivesMartin J. ConyonEx.docxExecutive Compensation and IncentivesMartin J. ConyonEx.docx
Executive Compensation and IncentivesMartin J. ConyonEx.docx
 
Executing the StrategyLearning ObjectivesAfter reading.docx
Executing the StrategyLearning ObjectivesAfter reading.docxExecuting the StrategyLearning ObjectivesAfter reading.docx
Executing the StrategyLearning ObjectivesAfter reading.docx
 
Executing Strategies in a Global Environment Examining the Case of .docx
Executing Strategies in a Global Environment Examining the Case of .docxExecuting Strategies in a Global Environment Examining the Case of .docx
Executing Strategies in a Global Environment Examining the Case of .docx
 

Recently uploaded

Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportAvinash Rai
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...Nguyen Thanh Tu Collection
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Celine George
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfbu07226
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsCol Mukteshwar Prasad
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Celine George
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesashishpaul799
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxakshayaramakrishnan21
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePedroFerreira53928
 
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdfPost Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdfPragya - UEM Kolkata Quiz Club
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringDenish Jangid
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptSourabh Kumar
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxheathfieldcps1
 
Neurulation and the formation of the neural tube
Neurulation and the formation of the neural tubeNeurulation and the formation of the neural tube
Neurulation and the formation of the neural tubeSaadHumayun7
 

Recently uploaded (20)

Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdfPost Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdfPost Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
Neurulation and the formation of the neural tube
Neurulation and the formation of the neural tubeNeurulation and the formation of the neural tube
Neurulation and the formation of the neural tube
 

ch aptEr EiGht  The WoRk pl Ace (1) BAsic issues      311.docx

  • 1. ch aptEr EiGht The WoRk pl Ace (1): BAsic issues 311 When mary daviS, aSSociate vice preSident for plant management at Whitewater Brewing Company, wrote an article for a large metropolitan newspaper in her state, she hadn’t realized where it would lead. At first she was thrilled to see her words published. Then she was just worried about keeping her job. It all started when her husband, Bob, who was working on his MBA, talked her into taking an evening class with him. She did and, to her surprise, really got into the course, spending most of her weekends that semester working on her term project—a study of wine and beer marketing. Among other things her essay discussed those respectable wine companies like E. & J. Gallo (the nation’s largest) that market cheap, forti- fied wines such as Thunderbird and Night Train Express. With an alcohol content 50 percent greater and a price far less than regular wine, these screw-top wines are seldom advertised and rarely seen outside poor neighborhoods, but they repre- sent a multimillion dollar industry. Skid-row winos are their major consumers, a fact that evidently embarrasses Gallo, because it doesn’t even put its company name on the label.86 Mary’s essay went on to raise some moral questions about the marketing of malt liquor, a beer brewed with sugar for an extra punch of alcohol. It has been around for about forty years; what is relatively new is the larger size of the container. A few years ago, the industry introduced malt liquor in 40-ounce bottles that sell for about three dollars. Packing
  • 2. an alcohol content roughly equivalent to six 12-ounce beers or five cocktails, 40s quickly became the favorite high of many inner-city teenagers. Ads for competing brands stress potency—“It’s got more” or “The Real Power”—and often use gang slang. Get “your girl in the mood quicker and get your jimmy thicker,” raps Ice Cube in a commercial for St. Ides malt liquor. Like baggy pants and baseball caps turned back- ward, 40s soon moved from the inner city to the suburbs. Teenage drinkers like the quick drunk, and this worries drug counselors. They call 40s “liquid crack” and “date rape brew.”87 Mary’s instructor liked her article and encouraged her to rewrite it for the newspaper. The problem was that Whitewater also brews a malt liquor, called Rafter, which it had recently started offering in a 40-ounce bottle. True, Mary’s article mentioned Whitewater’s brand only in passing, but top man- agement was distressed by her criticisms of the whole indus- try, which, they thought, damaged its image and increased the likelihood of further state and federal regulation. The board of directors thought Mary had acted irresponsibly, and Ralph Jenkins, the CEO, had written her a memo on the board’s behalf instructing her not to comment publicly about malt liquor without first clearing her remarks with him. Mary was hurt and angry. “I admit that the way the newspaper edited my essay and played up the malt liquor aspect made it more sensationalis- tic,” Mary explained to her colleague Susan Watts, “but every- thing I said was true.” “I’m sure it was factual,” replied Susan, “but the company thought the slant was negative. I mean, lots of ordinary peo- ple drink Rafter.”
  • 3. “I know that. Bob even drinks it sometimes. I don’t know why they are so upset about my article. I barely mentioned Rafter. Anyway, it’s not like Rafter is a big moneymaker. Most of our other beers outsell it.” “Well,” continued Susan, “the company is really touchy about the whole issue. They think the product is under politi- cal attack these days and that you were disloyal.” c a Se 8 . 3 Speaking out about malt 43075_ch08_ptg01_hr_276-315.indd 311 8/13/12 1:27 PM 312 pa rt FOU r T h e o R G A N i Z AT i o N A N D T h e p e o p l e i N i T “That’s not true,” Mary replied. “I’m no troublemaker, and I have always worked hard for Whitewater. But I do think they and the other companies are wrong to market malt liquor the way they do. It only makes a bad situation worse.” The next day Mary met with Ralph Jenkins and told him that she felt Whitewater was “invading,” as she put it, her rights as a citizen. In fact, she had been invited to speak about wine and beer marketing at a local high school as part of its antidrug campaign. She intended to keep her speaking engagement and would not subject her remarks to company censorship. Jenkins listened but didn’t say much, simply repeating what he had already written in his memo. But two days later Mary received what was, in effect, an ultimatum. She must either conform with his original order or submit her resignation.
  • 4. d i S c u S S i o n Q u e S t i o n S 1. Do you think Mary Davis acted irresponsibly or disloyally? Does Whitewater have a legitimate concern about her speaking out on this issue? Does the company have a right to abridge her freedom of expression? 2. Is your answer to question 1 affected by whether you agree or disagree with the views Mary Davis expressed? 3. Should there be any limits on an employee’s freedom of expression? If not, why not? If so, under what circum- stances is a company justified in restricting an employee’s right to speak out? 4. The case presentation doesn’t specify whether the newspaper article identified Mary Davis as an employee of Whitewater. Is that a relevant issue? Does it matter what position in the company Mary Davis holds? 5. What do you think Mary Davis ought to do? What moral considerations should she weigh? Does she have conflict- ing obligations? If so, what are they? 6. Is the company right to be worried about what Mary Davis writes or says, or is the board of directors exaggerating the potential harm to Whitewater of her discussing these issues? 7. Assume a CEO like Ralph Jenkins is legitimately worried that an employee is making damaging statements about the company. How should the CEO handle the situation? Is discharge or some sort of discipline called for? Should the company adopt a formal policy regarding employee speech? If so, what policy would you recommend?
  • 5. Pa ul P ric e/ G et ty Im ag es orGaniZational theoriStS and employee advocates frequently emphasize the importance, from both a moral and a practical point of view, of companies’ respecting the rights of their employees. Many employees spend long hours at work and remain tethered to the job by phone or computer even when they are off-site; not just their careers but also their friendships, social identity, and emotional lives are tied up with their work. All the more reason, it seems, that companies should recognize and respect their moral, political, and legal rights. But enshrined in our Constitution is one right that frequently gets overlooked in discussions of the workplace: the right to bear arms.88 c a Se 8 .4 have Gun, Will travel . . . to Work
  • 6. 43075_ch08_ptg01_hr_276-315.indd 312 8/13/12 1:27 PM CSIS 325 CMS Project – Phase II Instructions In this phase, you will create tables based upon the ERD and SQL code below.You will then populate each table with the data presented below. Finally, you will create queries that will be used to support reports for Accounting and Management. You will not actually create the reports in a GUI environment, only the queries that will serve as the basis for the reports. Screenshots are required for a grade to be given. One screenshot is not the idea; however, multiple screenshots along the way is the goal. Background: The following ERD will be used as the basis for this Phase. Part A: Table Creation and Data Loading Instructions: Create a new database in SQL Server and run the following CREATE TABLE commands. Note that you must run the CREATE TABLE statements in the order presented (and load the data in the order presented) to avoid conflicts resulting from foreign key constraints. Additional instructions for materials to turn in for this phase of your project are included at the end of this specification document. CREATE TABLE Regions (RegionID int not null, RegionAbbreviation varchar(4), RegionName varchar(100), CONSTRAINT PK_Regions PRIMARY KEY (RegionID))
  • 7. CREATE TABLE Countries (CountryID int not null, CountryName varchar(50), WeeklyHours int, Holidays int, VacationDays int, RegionID int, CONSTRAINT PK_Countries PRIMARY KEY (CountryID), CONSTRAINT FK_CountriesRegions FOREIGN KEY (RegionID) References Regions) CREATE TABLE EmployeeTitles (TitleID int not null, Title varchar(15), CONSTRAINT PK_EmpTitles PRIMARY KEY (TitleID)) CREATE TABLE BillingRates (TitleID int not null, Level int not null, Rate float, CurrencyName varchar(5), CONSTRAINT PK_BillingRates PRIMARY KEY (TitleID, Level), CONSTRAINT FK_BillingRatesTitles FOREIGN KEY (TitleID) References EmployeeTitles) CREATE TABLE Employees (EmpID int not null, FirstName varchar(30), LastName varchar(30), Email varchar(50), Salary decimal(10,2), TitleIDint, Level int, SupervisorID int,
  • 8. CountryID int, CONSTRAINT PK_Employees PRIMARY KEY (EmpID), CONSTRAINT FK_EmployeesCountries FOREIGN KEY (CountryID) References Countries, CONSTRAINT FK_EmployeesEmpTitles FOREIGN KEY (TitleID) References EmployeeTitles, CONSTRAINT FK_EmployeeSupervisors FOREIGN KEY (SupervisorID) References Employees) CREATE TABLE ContactTypes (ContactTypeID int not null, ContactType varchar(30) CONSTRAINT PK_ContactTypes PRIMARY KEY (ContactTypeID)) CREATE TABLE ContractTypes (ContractTypeID int not null, ContractType varchar(30) CONSTRAINT PK_ContractTypes PRIMARY KEY (ContractTypeID)) CREATE TABLE BenefitTypes (BenefitTypeID int not null, BenefitType varchar(30) CONSTRAINT PK_BenefitTypes PRIMARY KEY (BenefitTypeID)) CREATE TABLE Clients (ClientID int not null, LegalName varchar(50), CommonName varchar(50), AddrLine1 varchar(50), AddrLine2 varchar(50), City varchar(25), State_Province varchar(25), Zip varchar(9),
  • 9. CountryID int, CONSTRAINT PK_Clients PRIMARY KEY (ClientID), CONSTRAINT FK_ClientsCountries FOREIGN KEY (CountryID) REFERENCES Countries) CREATE TABLE Contacts (ContactID int not null, FirstName varchar(50), LastName varchar(50), AddrLine1 varchar(50), AddrLine2 varchar(50), City varchar(25), State_Province varchar(25), Zip varchar(9), CountryID int, ContactTypeID int, CONSTRAINT PK_Contacts PRIMARY KEY (ContactID), CONSTRAINT FK_ContactsCountries FOREIGN KEY (CountryID) REFERENCES Countries) CREATE TABLE ContractTypes (ContractTypeID int not null, ContractTypeDesc varchar(50), CONSTRAINT PK_ContractTypes PRIMARY KEY (ContractTypeID)) CREATE TABLE Contracts (ContractID int not null, ContractDesc varchar(100), ClientID int, ContractTypeID int, CONSTRAINT PK_Contracts PRIMARY KEY (ContractID), CONSTRAINT FK_ContractsClients FOREIGN KEY (ClientID) REFERENCES Clients, CONSTRAINT FK_ContractsContractTypes FOREIGN KEY
  • 10. (ContractTypeID) REFERENCES ContractTypes) CREATE TABLE ContractsContacts (ContractID int not null, ContactID int not null, CONSTRAINT PK_ContractsContacts PRIMARY KEY (ContractID, ContactID), CONSTRAINT FK_CC_Contracts FOREIGN KEY (ContractID) REFERENCES Contracts, CONSTRAINT FK_CC_Contacts FOREIGN KEY (ContactID) REFERENCES Contacts) CREATE TABLE Projects (ProjectID int not null, ProjectName varchar(50), HourCapAmount decimal(10,2), ProjectManagerID int, ContractID int, CONSTRAINT PK_Projects PRIMARY KEY (ProjectID), CONSTRAINT FK_ProjectsEmployees FOREIGN KEY (ProjectManagerID) REFERENCES Employees, CONSTRAINT FK_ProjectsContracts FOREIGN KEY (ContractID) REFERENCES Contracts) CREATE TABLE EmployeesProjects (EmpID int not null, ProjectID int not null, StartDate smalldatetime, EndDate smalldatetime, CONSTRAINT PK_EmployeesProjects PRIMARY KEY (EmpID, ProjectID), CONSTRAINT FK_EP_Employees FOREIGN KEY (EmpID) REFERENCES Employees, CONSTRAINT FK_EP_Projects FOREIGN KEY (ProjectID)
  • 11. REFERENCES Projects) CREATE TABLE Timesheets (TimesheetID int not null, SupervisorApproveDate smalldatetime, CONSTRAINT PK_Timesheets PRIMARY KEY (TimesheetID)) CREATE TABLE WorkHours (EmpID int not null, ProjectID int not null, WH_Day int not null, WH_Month int not null, WH_Year int not null, HoursWorked float, TimesheetID int, CONSTRAINT PK_WorkHours PRIMARY KEY (EmpID, ProjectID, WH_Day, WH_Month, WH_Year), CONSTRAINT FK_WorkHoursEmployees FOREIGN KEY (EmpID) REFERENCES Employees, CONSTRAINT FK_WorkHoursProjects FOREIGN KEY (ProjectID) REFERENCES Projects, CONSTRAINT FK_WorkHoursTimesheets FOREIGN KEY (TimesheetID) REFERENCES Timesheets) CREATE TABLE BenefitsTaken (EmpID int not null, BenefitTypeID int not null, BT_Day int not null, BT_Month int not null, BT_Year int not null, HoursTaken float, TimesheetID int, CONSTRAINT PK_BenefitsTaken PRIMARY KEY (EmpID,
  • 12. BenefitTypeID, BT_Day, BT_Month, BT_Year), CONSTRAINT FK_BenefitsTakenEmployees FOREIGN KEY (EmpID) REFERENCES Employees, CONSTRAINT FK_BenefitsTakenBenefitTypes FOREIGN KEY (BenefitTypeID) REFERENCES BenefitTypes, CONSTRAINT FK_BenefitsTakenTimesheets FOREIGN KEY (TimesheetID) REFERENCES Timesheets) Data Section The following information is currently maintained in various spreadsheets throughout CMS. Data from these spreadsheets must be uploaded into your newly created tables before the database can be considered operational. Regions ID Abbr. Region Name 1 NAR North America 2 CALA Central and Latin America 3 APAC Asia and Pacific 4 EMEA Europe, Middle East, and Africa Countries ID Country Name Weekly Hours Holidays Vacation Days Region 1 United States 40 11 10 NAR 2 Canada 40 12 15 NAR 3 United Kingdom 38 10 10 EMEA 4 France 38 14 10 EMEA 5 Ireland 38 10 15 EMEA 6 Italy 35 9 20 EMEA
  • 13. 7 Thailand 40 17 20 APAC 8 Singapore 40 17 21 APAC 9 Panama 40 12 15 CALA Benefit Types ID Benefit Type Name 1 Vacation 2 Holiday 3 Jury Duty 4 Maternity Leave 5 Paternity Leave 6 Military Duty Contact Types ID Contact Type Name 1 Systems Engineer 2 Sales 3 Billing Contract Types ID Contract Type Name 1 Maintenance 2 Fixed Price 3 License 4 Time and Materials Clients IDLegal NameCommon Address1Address2CityStateZip Country 1BMA British Mobile 130 Wake Dr. WakeNC24539 US 2FT France Mobile 123 East St. Suite #2 Paris45678 France 3IBC IBC 456 Main Johor 78945 Singapore 4MTM MTM 6789 First St. MeadGA45678
  • 14. US 5 BT Britain Tele 98769 Park St. Level 3London 48695 UK Contracts ID ContractDesc Contract Type Client 1 Work Order 1 Maint FT 2 Work Order 1 T&M BT 3 Work Order 1 Fixed Price IBC 4 Work Order 2 Maint IBC 5 Work Order 1 Fixed Price MTM 6 Work Order 2 T&M FT Contacts IDFirstLast Addr1 Addr2CityState Zip CountryType 1BuggBunny 123 Looney NoWhere AK45678 US SysEng 2ElmerFudd 789 Park Pl. Apt 3Skyville NM45678 US Billing 3DaffyDuck 45678 One St. Norwood 45678 UK Sales 4DarthVader 456 Two St. Towns 47896 UK Sales 5LukeSky #4 Tatooine Paris 45678 FranceBilling 6PrincessLea 723 Coruscant Rome 45678 ItalySysEng 7JohnDoe 987 Main St. Paris 78945 FranceSysEng 8JaneDoe 7658 Oak Ln. Crue VA 45678 USSysEng Contracts’ Contacts Contract Client Contact Name Work Order 1 BT Daffy Duck Work Order 1 FT John Doe, Jane Doe, Princess
  • 15. Lea Work Order 2 FT Elmer Fudd Work Order 1 IBC Buggs Bunny Work Order2 IBC Luke Sky Work Order 2 IBC Darth Vader Work Order 1 MTM Daffy Duck EmployeeTitles ID Title 1 Consultant 2 Analyst 3 Director BillingRates TitleID Level Rate Currency 1 1 150.00 USD 1 2 200.00 USD 1 3 300.00 USD 2 1 50.00 USD 2 2 100.00 USD 2 3 150.00 USD 3 1 250.00 USD 3 2 350.00 USD 3 3 450.00 USD Employees ID First Last CountryID Email Salary Title LevelID 1 Matthew Smith 1 [email protected] 45000 Consultant 1 2 Mark Jones 1 [email protected] 94000 Director 1 3 Luke Rice 4 [email protected] 65000 Consultant 2 4 John Rich 5 [email protected] 74000 Consultant3
  • 16. 5 James Doe 6 [email protected] 40000 Analyst1 6 Peter Pride 3 [email protected] 60000 Analyst2 7 Eric Potter 3 [email protected] 81000 Consultant 3 8 Paul Davis 1 [email protected]103000 Director 2 Projects ID Project Name HourCapAmount ProjectManager Contracts Client 1 IBC – India 120 Davis Work Order 2 IBC 2 FT-Maint 100 Doe Work Order 2 FT 3 BT – WO 1 Time 270 Rich Work Order1 BT 4 BT – WO1 Materials Rich Work Order1 BT 5 IBC - WO1 Davis Work Order 1 IBC 6 IBC – WO2 Davis Work Order2 IBC 7 MTM – WO1 Pride Work Order1 MTM 8 FT – WO2 Time 500 Doe Work Order2 FT 9 FT –WO2 Materials Doe Work Order2 FT Project-Employee Assignments Employee Project StartDate EndDate Doe IBC-India 1/1/2013 Doe IBC - WO1 5/7/2013 Doe BT – WO1 Materials 2/1/2013 4/30/2013 Smith FT-Maint 2/1/2013 Jones FT-Maint 3/1/2013
  • 17. Rice MTM – WO1 1/1/2013 WorkHours Employee Project Day Month Year HoursWorked TimeSheet Doe IBC-India 2 4 2013 8 1 Doe IBC-India 3 4 2013 8 1 Doe IBC-India 4 4 2013 8 1 Doe IBC-India 5 4 2013 8 1 Doe IBC-India 6 4 2013 8 1 Doe IBC-India 9 4 2013 8 1 Doe IBC-India 10 4 2013 8 1 Doe IBC-India 11 4 2013 8 1 Doe IBC-India 12 4 2013 8 1 Doe IBC-India 13 4 2013 4 1 Doe IBC - WO1 13 4 2013 4 1 Doe IBC - WO1 16 4 2013 4 1 Doe IBC - WO1 16 4 2013 4 1 Doe IBC-India 17 4 2013 8 1 Doe IBC-India 18 4 2013 8 1 Doe IBC-India 19 4 2013 5 1 Doe IBC-WO1 19 4 2013 3 1 Doe IBC-India 20 4 2013 8 1 Doe IBC-India 23 4 2013 8 1 Doe IBC-India 24 4 2013 8 1 Doe IBC-India 26 4 2013 8 1 Doe IBC-India 27 4 2013 8 1 Doe IBC-India 30 4 2013 8 1 Doe IBC-WO1 1 5 2013 8 2 Doe IBC-WO1 2 5 2013 8 2 Doe IBC-WO1 3 5 2013 8 2 Doe IBC-WO1 4 5 2013 8 2 Doe IBC-India 7 5 2013 8 2 Doe IBC-WO1 8 5 2013 8 2 Doe IBC-WO1 9 5 2013 8 2 Doe IBC-WO1 10 5 2013 8 2
  • 18. Doe IBC-WO1 11 5 2013 8 2 Doe IBC-India 14 5 2013 8 2 Doe IBC-WO1 15 5 2013 8 2 Doe IBC-WO1 16 5 2013 8 2 Doe IBC-WO1 17 5 2013 8 2 Doe IBC-WO1 18 5 2013 8 2 Doe IBC-India 21 5 2013 8 2 Doe IBC-WO1 22 5 2013 8 2 Doe IBC-WO1 23 5 2013 8 2 Doe IBC-WO1 24 5 2013 8 2 Doe IBC-India 28 5 2013 8 2 Doe IBC-WO1 29 5 2013 8 2 Doe IBC-WO1 30 5 2013 8 2 Doe IBC-WO1 31 5 2013 8 2 Jones FT-Maint 2 4 2013 8 3 Jones FT-Maint 3 4 2013 8 3 Jones FT-Maint 4 4 2013 8 3 Jones FT-Maint 5 4 2013 8 3 Jones FT-Maint 6 4 2013 8 3 Jones FT-Maint 9 4 2013 8 3 Jones FT-Maint 10 4 2013 8 3 Jones FT-Maint 11 4 2013 8 3 Jones FT-Maint 12 4 2013 8 3 Jones FT-Maint 13 4 2013 15 3 Jones FT-Maint 16 4 2013 14 3 Jones FT-Maint 17 4 2013 8 3 Jones FT-Maint 18 4 2013 8 3 Jones FT-Maint 19 4 2013 10 3 Jones FT-Maint 20 4 2013 8 3 Jones FT-Maint 23 4 2013 8 3 Jones FT-Maint 24 4 2013 8 3 Jones FT-Maint 26 4 2013 8 3 Jones FT-Maint 27 4 2013 8 3 Jones FT-Maint 30 4 2013 8 3 Jones FT-Maint 1 5 2013 8 4 Jones FT-Maint 2 5 2013 8 4
  • 19. Jones FT-Maint 3 5 2013 8 4 Jones FT-Maint 4 5 2013 8 4 Jones FT-Maint 7 5 2013 8 4 Jones FT-Maint 8 5 2013 8 4 Jones FT-Maint 9 5 2013 8 4 Jones FT-Maint 10 5 2013 8 4 Jones FT-Maint 11 5 2013 8 4 Jones FT-Maint 14 5 2013 8 4 Jones FT-Maint 15 5 2013 8 4 Jones FT-Maint 16 5 2013 8 4 Jones FT-Maint 17 5 2013 8 4 Jones FT-Maint 18 5 2013 8 4 Jones FT-Maint 21 5 2013 8 4 Jones FT-Maint 22 5 2013 8 4 Jones FT-Maint 28 5 2013 8 4 Jones FT-Maint 29 5 2013 8 4 Jones FT-Maint 30 5 2013 8 4 Jones FT-Maint 31 5 2013 8 4 Smith FT-Maint 2 4 2013 8 5 Smith FT-Maint 3 4 2013 8 5 Smith FT-Maint 4 4 2013 8 5 Smith FT-Maint 5 4 2013 8 5 Smith FT-Maint 9 4 2013 8 5 Smith FT-Maint 10 4 2013 8 5 Smith FT-Maint 11 4 2013 8 5 Smith FT-Maint 12 4 2013 8 5 Smith FT-Maint 16 4 2013 14 5 Smith FT-Maint 17 4 2013 8 5 Smith FT-Maint 18 4 2013 8 5 Smith FT-Maint 19 4 2013 10 5 Smith FT-Maint 20 4 2013 8 5 Smith FT-Maint 23 4 2013 8 5 Smith FT-Maint 24 4 2013 8 5 Smith FT-Maint 26 4 2013 8 5 Smith FT-Maint 27 4 2013 8 5 Smith FT-Maint 30 4 2013 8 5
  • 20. Smith FT-Maint 1 5 2013 8 6 Smith FT-Maint 2 5 2013 8 6 Smith FT-Maint 3 5 2013 8 6 Smith FT-Maint 4 5 2013 8 6 Smith FT-Maint 7 5 2013 8 6 Smith FT-Maint 8 5 2013 8 6 Smith FT-Maint 9 5 2013 8 6 Smith FT-Maint 10 5 2013 8 6 Smith FT-Maint 11 5 2013 8 6 Smith FT-Maint 14 5 2013 8 6 Smith FT-Maint 15 5 2013 8 6 Rice MTM – WO1 2 4 2013 8 7 Rice MTM – WO1 3 4 2013 8 7 Rice MTM – WO1 4 4 2013 8 7 Rice MTM – WO1 5 4 2013 8 7 Rice MTM – WO1 6 4 2013 8 7 Rice MTM – WO1 9 4 2013 8 7 Rice MTM – WO1 10 4 2013 8 7 Rice MTM – WO1 11 4 2013 8 7 Rice MTM – WO1 12 4 2013 8 7 Rice MTM – WO1 16 4 2013 14 7 Rice MTM – WO1 17 4 2013 8 7 Rice MTM – WO1 18 4 2013 8 7 Rice MTM – WO1 19 4 2013 10 7 Rice MTM – WO1 20 4 2013 8 7 Rice MTM – WO1 23 4 2013 8 7 Rice MTM – WO1 24 4 2013 8 7 Rice MTM – WO1 26 4 2013 8 7 Rice MTM – WO1 27 4 2013 8 7 Rice MTM – WO1 30 4 2013 8 7 Rice MTM – WO1 1 5 2013 8 8 Rice MTM – WO1 2 5 2013 8 8 Rice MTM – WO1 3 5 2013 8 8 Rice MTM – WO1 4 5 2013 8 8 Rice MTM – WO1 7 5 2013 8 8 Rice MTM – WO1 8 5 2013 8 8
  • 21. Rice MTM – WO1 9 5 2013 8 8 Rice MTM – WO1 10 5 2013 8 8 Rice MTM – WO1 11 5 2013 8 8 Rice MTM – WO1 14 5 2013 8 8 Rice MTM – WO1 15 5 2013 8 8 Benefits Taken Employee Day Month Year BenefitType TimeSheet Doe 25 4 2013 Holiday 1 Doe 25 5 2013 Holiday 2 Jones 25 4 2013 Holiday 3 Jones 23 5 2013 Vacation 3 Jones 24 5 2013 Vacation 4 Jones 25 5 2013 Holiday 4 Smith 6 4 2013 Vacation 5 Smith 25 4 2013 Holiday 5 Smith 25 5 2013 Holiday 6 Rice 25 4 2013 Holiday 7 Rice 25 5 2013 Holiday 8 Timesheets ID SupervisorApproveDate 1 4/30/2013 2 5/31/2013 3 4/30/2013 4 5/31/2013 5 4/30/2013 6 5/31/2013 7 4/30/2013 8 5/31/2013 Part B: Reports 1. Human Resources: The HR department requires a list of all the employees who are employed by CMS. This information should be organized as follows:
  • 22. Region Country Employee name (Last, First) Title + Level (e.g. “Consultant - 1”) Salary (in USD) *Sort data in ascending order first by region, then by country, then by employee last name, then by title, and then by salary. Instructions: For this assignment, write the query that produces the results as described above. 2. Invoicing Accounting requires information to produce invoices. For each client, CMS’s invoicing controller must know the following information as of the last day of each month: Client name Contract name(s) Project(s) Employees who logged hours to a project from the first day of the current month until the last day of the current month Totalnumber of hours logged for each employee during the month Employee rate Total charges per employee (i.e. employee rate x employee hours worked) Billing contact(s)(name, address)for each contract *Sort data in ascending order first by client, then by project, and then by employee. Instructions: All of this information should be produced using a single query that can serve as the basis for a report.Do not use views or stored procedures in conjunction with your query. For this assignment, you will write your query for only the month of April 2013. You may hardcode the month number in your query. In the realworld, you would likely run this report for the current month, in which case you would want to use the getdate() function to retrieve the current date. Conversely, you
  • 23. might produce this query as a stored procedure that takes a given month as an argument and returns a resultset. For your assignment, however, just assume this report will be run for April 2013 and hardcode this date in your query to produce the results. 3. Benefit Tracking The HR department requires a report that provides information on benefit information. Assume a calendar year whereby new benefit allotments are granted as of January 1 and must be used by December 31 of same year. No carryover benefits are allowed. Number of benefits days allotted to each employee Number of benefit days taken year-to-date Number of benefit days remaining in the calendar year Number of holidays allotted to each employee Number of holidays taken year-to-date Number of holidays remaining in the calendar year *Data mustbe sorted in ascending order by employee last name. Instructions: For this assignment, write a query that produces the results described above. Assume that you are running the report for the 2013 calendar year. As in the previous report, in the realworld, you would likely use the getdate() function to determine the current date and run the report from the beginning of the current year until the present time. For this assignment, however, you may hardcode the year 2013 in your query and retrieve all of the data for that year. 4. Management Exception Reporting a. Management must keep track of employees whose combined hours have exceeded the maximum allowed hours on projects. This report must be run before invoicing occurs in order to prevent billing in excess of contractual amounts. Show only projects whose cap amounts have been exceeded. Project name
  • 24. Maximum allowed hours per project Total hours worked on project Overage (the difference between the cap and actual hours) *Sort data by project name. b. In a separate query, show the details for the projects whose cap amounts have been exceeded: Project name Employees who worked on project Total hours worked on project per employee *Sort data by project name and then by employees who worked on the project Instructions: For this assignment, write a query for 4(a) and a separate query for 4(b). The results mustreflect the requirements described above. 5. Payroll The payroll department requires a report of employees who are logging more hours per week than they are legally required to work per country stipulations. These employees are paid overtime wages for hours worked in excess of weekly stipulated hours. Employee name Employee country Weekly Hours per employee per country Hours logged by employee in current week Instructions: For this assignment, produce a query that determines employees who have incurred overtime during April 2013. Phase II Deliverables: 1. In a Word document, take screen shots of the data in each of your tables using basic SELECT statements. For example, SELECT * from Clients 2. Write queries for each of the reports above. In the same Word
  • 25. document, include screenshots of your queries from SQL Server Express (or SQL Server). Below EACH query, include (via screen shots) the results of each query. 3. Name your Word document as follows: “Phase II CMS Project – your last name followed by your first initial.” Using the link provided in Blackboard, upload the CMS Project – Phase II by 11:59 p.m. (ET) on Friday of Module/Week 8. Page 1 of 16 Bills Charges BillingRates Rate Currency EmpIsA EmployeeTitles TitleID Title WorksIn LocatedIn IsATypeOf BenefitTypes BenefitTypeID BenefitTypeName Totals Takes