Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to structure a SQL Select command
Message
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 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01180237
Message ID:
01180259
Vues:
17
I see where you're going with that. I had thought about a subselect, but hadn't thought about your approach (don't know why - I should have!). I'll give that a whirl. Thanks.

>Hi Russell,
>
>Try (not tested)
>
>SELECT *
>  FROM mytable mt1
>  WHERE task = lcTask
>    AND NOT EXISTS ( SELECT * FROM mytable
> 		       WHERE ArtID = mt1.ArtID
>			 AND date > mt1.date)
>
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform