Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL select brings record over even when not match
Message
 
 
À
15/09/2005 10:54:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01049862
Message ID:
01049928
Vues:
12
This message has been marked as a message which has helped to the initial question of the thread.
Change select to
...
   LEFT JOIN addresses AS adr ;
    ON stu.student_id = adr.student_id ;
        AND stu.school_year = adr.school_year ;
   WHERE stu.enrollment_status <> 'INACTIVE' ;
...
>In the table, the field is in all caps. I am lazy when typing and didn't do the all caps in my question, but it is correct in the statement.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform