Hello,
I need to combine one or more rows into a single row based on key fields.
Here's an excerpt of the raw data:
And this is what have so far. I'm using the OPCItem field to match rows.
This is the code that produces the above:
select a1.facility, a1.opcitem, a1.ico9desc, a2.ico10desc
from awxcomparison a1, awxcomparison a2
where a1.opcitem=a2.opcitem
and (a1.ico9desc is not null
and a2.ico10desc is not null)
and a1.facility='DENVER UNIT BATTERY 5'
order by opcitem
But in the first screenshot, notice that there is a lone record at ReadDints[19].13. My code omits this record, but I need to include any record that has nulls in either of the two Desc columns.
Can you help? Thanks in advance for your help.
Doug