` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Totalling a computed field in SQL
2007-12-10 -- J Shankar
 
select ID, sum(QTY), Sum(Extension), Sum(DiscountExt), Sum(Case When discountext = 0 then extension else discountext end) AS 'SoldPrice' from partsolds group by ID


Today is May 7, 2024, 10:25 am
This article has been viewed 35127 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: