Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Indirect join
Message
 
To
30/11/2006 17:47:35
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01171237
Message ID:
01174026
Views:
10
Try something like this;
lcSites = addbs(fileloc) + 'bluebook\sites'
lcERs = addbs(fileloc) + 'bluebook\ers'
lcCEO1 = addbs(fileloc) + 'bluebook\people'
lcTC1 = addbs(fileloc) + 'bluebook\people'
lcTC2 = addbs(fileloc) + 'bluebook\people'

** yielding something like
select * , ers.name, tc1.name, tc2.name, ceo1.name ;
   from (lcSites) ;
   left outer join (lcERs) as ers on sites.er = ers.er_id ;
   left outer join (lcCEO1) as ceo1 on sites.ceo1 = ceo1.person_id
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform