Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Improving sluggish SQL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00306158
Message ID:
00306363
Vues:
24
Maybe this will work better, then maybe it won't

select * , IIF(isNUll(table2.keyfield),"MISSING","FOUND")) as isFound ;
from table1 ;
LEFT JOIN table2 ON table1.keyfield = table2.keyfield ;
HAVING isFound = "MISSING"
Ken Wardwell
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform