Features: |
ORDER BY clause SOUNDS-LIKE operator |
Table name: | PROCLIB.STAFF |
libname proclib 'SAS-library';
proc sql; title "Employees Whose Last Name Sounds Like 'Johnson'"; select idnum, upcase(lname), fname from proclib.staff
where lname=*"Johnson" order by 2;
proc sql; title "Employees Whose Last Name Sounds Like 'Johnson'"; select idnum, upcase(lname), fname from proclib.staff