Question: using sas code list the observations for employee numbers ( EmpID ) 9 8 8 8 and 0 1 7 7 . Do this in
using sas code list the observations for employee numbers EmpID
and
Do this in one of two ways: one, using OR operators or two, using the IN operator.
Note: EmpID is a character variable. Next, create a new temporary SAS dataset containing
Region and TotalSales plus a new variable called Weight, with values of
for the North
Region,
for the South Region, and
for the West and East Regions. Use a SELECT
statement to do this. Finally, list all the observations where Region is
North and Quantity is
less than
Include in this list any observations where the customer name Customer is
Pets are Us
Using the Sales.xls dataset,
mpID Name Region Customer Item Quantity UnitCost TotalSales
George SmithNorth Barco CorporationL
George SmithSouth Cost Cutter's
George SmithNorth Minimart IncS
George SmithNorth Barco CorporationX
George SmithSouth Ely Corp. L
Glenda JohnsonEast Food UnlimitedX
Glenda JohnsonEast Shop and DropL
George SmithSouth Cost Cutter'sW
Sharon Lu West Cost Cutter's
Sharon Lu West Pet's are UsW
Jason NguyenEast Roger's SpiritsL
Jason NguyenSouth Spirited SpiritsXX
Glenda JohnsonNorth Minimart Inc
Glenda JohnsonEast Barco Corporation
George SmithNorth Minimart IncS
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
