Need help with SQL selection statement.
From: Steve Frampton <frampton_at_vicuna.ocunix.on.ca>
Date: Thu, 2 Feb 1995 17:10:27 -0500
Message-ID: <542wZc1w165w_at_vicuna.ocunix.on.ca>
Date: Thu, 2 Feb 1995 17:10:27 -0500
Message-ID: <542wZc1w165w_at_vicuna.ocunix.on.ca>
Hello:
For quite some time now I've always wanted to do something like:
As you can see, I want to total up each employees total pays *for the year*, and deduct total deductions *for the year*, and display the result.
I can't think of the number of times I've wanted to do something like this! But SQL*Plus won't allow me to.
How do I get around this sort of thing? Is "new_value" or something like that involved? In the past, I've resigned myself to coding these types of things in RPT, but surely there must be an easier and quicker way to do this just using SQL?
Any information would be greatly appreciated.
------------------------------------------------------------ Steve Frampton E-mail: <frampton_at_vicuna.ocunix.on.ca>Received on Thu Feb 02 1995 - 23:10:27 CET