October 2019
Intermediate to advanced
430 pages
19h 4m
English
proc sql number; /*1*/ select empdata.empID, /*2*/ empdata.LastName, empdata.Salary, newsals.NewSalary, (newsals.NewSalary-empdata.Salary) /*3*/ as Raise format=dollar10.2 from certadv.empdata inner join /*4*/ certadv.newsals on empdata.EmpID= newsals.EmpID /*5*/ where calculated Raise>3000 /*6*/ order by EmpID; /*7*/ quit;
| 1 | The SQL procedure retrieves data from tables or views to generate a report. The PROC SQL option NUMBER prints the row numbers in the query output. |
| 2 | The SELECT statement retrieves the columns ... |
Read now
Unlock full access