BookmarkSubscribeRSS Feed
Christina_j920
Calcite | Level 5
Create the np sort table contains data for national parks. You want the data sorted by regional code and decreasing numbers of daily visitors.

1.Open p103p08. sas from the practices folder.

2. Modify the Proc Sort Step to read pg1.np_summary and create a temporary, sort table named np_sort.

3. Add a BY statement to order the data by Reg descending DayVisits values.

4. Add a WHERE statement to select Type equal to NP.

5. Submit the program and view the output data.

How many rows are in the np sort table?
3 REPLIES 3
sahaj
Calcite | Level 5
 
 

Create the np sort table that contains data for national parks. You want the data sorted by regional code and decreasing numbers of daily visitors.

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 2658 views
  • 0 likes
  • 3 in conversation