Skip to Main Content
SAS Certified Professional Prep Guide
book

SAS Certified Professional Prep Guide

by SAS Institute
October 2019
Intermediate to advanced content levelIntermediate to advanced
430 pages
19h 4m
English
SAS Institute
Content preview from SAS Certified Professional Prep Guide

Scenario 10

Directions

This scenario uses the Certadv.EmpAdd, Certadv.EmpOrg, and Certadv.EmpPh data sets. Write an SQL query that does the following:
  • Create a view named Work.PhoneList that contains the following columns:
    • Department with a format of $25.
    • EmployeeName with a format of $25.
    • PhoneNumber with a format of $16. and a label of Home Phone
  • Use the data found in the following tables. Column names that you need from each data set are in parentheses.
    • certadv.empadd (EmployeeID, EmployeeName)
    • certadv.emporg (EmployeeID, Department)
    • certadv.empph (EmployeeID, PhoneNumber, PhoneType)
    • Use an alias for each table for simpler programming. Use 'a' for certadv.empadd, 'o' for certadv.emporg, and 'p' for ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SAS Certified Specialist Prep Guide

SAS Certified Specialist Prep Guide

SAS Institute
SAS in Practice

SAS in Practice

Ekta Saraogi

Publisher Resources

ISBN: 9781642954692