Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT into SELECT
Message
 
 
To
30/12/2005 14:05:42
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01082091
Message ID:
01082120
Views:
11
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform