Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting from multiple tables...
Message
De
03/06/1999 16:25:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00226145
Message ID:
00226228
Vues:
26
You have no join condition in your SELECT. You should have a condition that tell which field in Conference link to Rooms, as in:
SELECT Conference.ConfNum;
   FROM Conference;
   INNER JOIN Rooms ON Conference.PK = Rooms.FK;
   WHERE Rooms.HallName=="Hewett" .OR. Rooms.HallName=="Manchester";
   INTO CURSOR tmp
HTH

>SELECT Conference.ConfNum, Conference.ConfName, Conference.CheckInBegin, ;
> Conference.CheckInEnd, Conference.CheckOutBegin, Conference.CheckOutEnd, ;
> Rooms.HallName FROM Conference INNER JOIN Rooms WHERE ;
> Rooms.HallName=="Hewett" .OR. Rooms.HallName=="Manchester" INTO CURSOR tmp
>
>Syntax error... =(
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform