Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Accumulate field in SQL
Message
De
21/02/2000 06:36:31
Srinivasan Ashwath
Zeus Software Services
Hyderabad, Inde
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00333469
Message ID:
00334766
Vues:
13
Say i have itemcode,qty, unit price as column in table, and in select statement
it should possess itemcode,qty,unitprice and total an extra column
Table name potrdhd - (purchase order transaction details header table)
then
Select itemcode,qty, unitprice,(unitprice*qty) as tot from potrdhd

This will return an extra column as tot which contains unitprice* qty for each record

Regards,
ashwath
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform