Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Totals from a set of dates
Message
De
26/02/2010 11:20:28
Moacyr Zalcman
Independent Consultant
São Paulo, Brésil
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Desktop
Divers
Thread ID:
01451177
Message ID:
01451255
Vues:
31
Hi Naomi and Borislav

Sorry, I´ll try to be more clear.

The dates comes from another table. Products are put on sales in different times during the day. For every producT I need to calculate the total sales from the entire store after that time.

Product A - Start Sales at 2009-02-26 08:00AM ->Total sales from the store after 2009-02-26 08:00AM till now- 600000
Product B - Start Sales at 2009-02-25 10:00AM ->Total sales from the store after 2009-02-25 10:00 AM till now 900000

Table A stores these dates of beggining sales and Table B stores individual sales I need a sum of sales for each start sales
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform