Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL - Select
Message
 
 
To
29/01/2003 11:31:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00746724
Message ID:
00746742
Views:
24
Let's also alias the columns returned:
SELECT Project, a.eocname Owner, ;
  b.oecname Engineer, c.oecname Contractor;
  FROM Table2;
  LEFT JOIN Table1 a;
    ON Table2.Owner = a.oecid;
  LEFT JOIN Table1 b;
    ON Table2.Engineer = b.oecid;
  LEFT JOIN Table1 c;
    ON Table2.Contractor = b.oecid;
  INTO CURSOR crsResults NOFILTER
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform