Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Puzzle
Message
De
28/11/2003 06:31:53
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
28/11/2003 06:12:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00854130
Message ID:
00854161
Vues:
18
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]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform