![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I have a simple report with two column. The query is as below. SELECT decode(caste,1,'SC/ST',2,'General','3','PWD') fcastepi, nvl(count(*),0) fcapi FROM applicationformdtl WHERE year = _yearAND selected = 1 AND PROGCD = 'PRM' GROUP BY caste This query returns values for SC/ST and General as there is no matching data for the PWD. But I want to display PWD with value 0 in the report. How to do this? Can anyone help me in this matter at the earliest? The required output is SC/ST 100 General 300 PWD 0 Regards Trusha |
_year![]() |
| Thread Tools | |
| Display Modes | |
| |