Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I get just the latest edit dates
Message
 
 
À
21/03/2005 10:06:58
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00997819
Message ID:
00997821
Vues:
12
Try
select location, part, MAX(editdate) AS max_ed 
         Form inventory
         GROUP BY location, part



>IF I wanted to just get the latest edit dates from a table
>
>i.e.
>
>select location, part, editdate
>Form inventory
>
>How would I just get the records from the most recent editdate?
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform