Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting top occurrence of master table
Message
De
26/08/2010 14:38:15
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01478636
Message ID:
01478678
Vues:
22
Thanks, I was able to find something:
SELECT Parent.Numero,ParentVersion.Title FROM Parent
INNER JOIN Child ON Parent.Numero=Child.NoParent 
WHERE Child.Numero = 
 (SELECT TOP 1 Numero FROM Child Child2
 WHERE Child2.NoParent=Parent.Numero
 ORDER BY Child2.ModDate DESC)
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform