Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT into SELECT
Message
 
 
À
30/12/2005 14:05:42
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01082091
Message ID:
01082120
Vues:
10
>Ok... I got it now with completing your good stuff with this...
>
>SELECT max(Week)
>FROM MySQLTable t1
>WHERE Sku = '7163910'
>and Store = '037'
>and NOT EXISTS
>(SELECT * FROM MySQLTable t2
>WHERE t2.Sku = t1.Sku
>AND t2.Store = t1.Store
>AND t2.TotalSalesUnits > t1.TotalSalesUnits)
>
>Thank you Sergey and Happy New Year!!!

You're welcome and Happy New Year!
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform