SQL: Which part should I execute first in which manner?

Tags:
SQL
SQL Query
What should I execute first?
proc sql;

select distinct e.firstname, e.lastname

from sasuser.flightschedule as sasuser.staffmaster as b,

sasuser.payrollmaster as sasuser.supervisors as d,

sasuser.staffmaster as e

where a.date=’04mar2000’d and

a.destination=’CPH’ and

a.empid=b.empid and

a.empid=c.empid and

d.jobcategory=substr(c.jobcode,1,2)

and d.state=b.state

and d.empid=e.empid;


Software/Hardware used:
sas
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    Assuming this is based on home work/ assignment. Please read your study materials and get solid knowledge for your good future. Also you can link w3school,for more help.  
    140,150 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: