Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql: parent - child
Message
 
 
À
13/08/2004 04:47:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00932653
Message ID:
00933124
Vues:
19
You're welcome. The easiest way to overcome it is to SET ENGINEBHAVIR 80 and keep it this way. :)

>Thanks a lot. I still have not overcome enginbehavior70-itis <s>
>
>Peter
>
>
>>Hi Peter,
>>
>>Your select wouldn't run with SET ENGINEBHAVIR 80 because you didn't define from which records data for table2 columns should come. Try
SELECT t1.signout_id AS id1,;
>>		t1.claim_id,;
>>		t2.* ;
>>	FROM signout t1;
>>	JOIN signout2 t2;
>>	ON t1.signout_id = t2.signout_id
>>	WHERE t2.insdttm IN ( ;
>>		SELECT MAX(t2.insdttm) FROM signout2 t22 ;
>>			WHERE t22.signout_id = t2.signout_id)
>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform