Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Puzzle
Message
From
28/11/2003 06:31:53
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
28/11/2003 06:12:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00854130
Message ID:
00854161
Views:
19
Hi Fabiom,

PMFJI

from my knowledge it is better to do
SELECT genus, species, continent ;
    FROM  Site S;
    INNER JOIN Species ON S.fkey =Species.Pkey AND S.continent IN ('Africa','Asia');
    INNER JOIN Site X ON X.fkey =Species.Pkey AND X.continent IN ('Africa','Asia') AND X.continent#S.continent ;
ORDER BY 1,2
Agnes
Update:
I mean
SELECT genus, species, continent ;
    FROM  Site S;
    INNER JOIN Species ON S.fkey =Species.Pkey AND S.continent IN ('Africa','Asia');
    INNER JOIN Site X ON X.fkey =Species.Pkey AND X.continent IN ('Africa','Asia') 
where X.continent#S.continent ;
ORDER BY 1,2
>Hi Ken,
>
>try this:
>
>SELECT genus, species, continent ;
>    FROM Species ;
>    INNER JOIN Site S ON S.fkey =Species.Pkey AND S.continent IN ('Africa','Asia');
>    INNER JOIN Site X ON X.fkey =Species.Pkey AND X.continent IN ('Africa','Asia') AND X.continent#S.continent ;
>ORDER BY 1,2
>
>
>Fabio
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform