SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Performing Queries Using SQL
Querying Multiple Tables


Question:
Write a SELECT clause to select the columns Name, Fee, Total, BalanceDue, and AmountPaid, in that order. Define the new column AmountPaid as the value of BalanceDue subtracted from the value of Total. Indicate that values for Name be read from Clinic.Admit. (Do not end the clause with a semicolon.)
proc sql;
   

           

  back||next

 

Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement