query for commission value [message #284215] |
Thu, 29 November 2007 03:18 |
|
The EMPLOYEES table contains these columns:
LAST_NAME VARCHAR2 (25)
SALARY NUMBER (6, 2)
COMMISSION_PCT NUMBER (6)
I need to write a query that will produce these results:
1. Display the salary multiplied by the commission_pct
2. Exclude employees with a zero commission_pct
3. Display a zero for employees with a null commission value
can u help me ?
|
|
|
|
query for commission value [message #284237 is a reply to message #284215] |
Thu, 29 November 2007 03:48 |
|
The EMPLOYEES table contains these columns:
LAST_NAME VARCHAR2 (25)
SALARY NUMBER (6, 2)
COMMISSION_PCT NUMBER (6)
I need to write a query that will produce these results:
1. Display the salary multiplied by the commission_pct
2. Exclude employees with a zero commission_pct
3. Display a zero for employees with a null commission value
can u help me ?
|
|
|
|
|
|