Please help me with this. I have to do a report. I have to select in the same column
the container number CN: for FJ.crg=’F’ from FC.Number and for FJ.crg=’L’ FM.Number.
I have to do the same for the container type.
How/Can I write an if/case in a select statement?
I mention that in select I have other field as well
Select
FJ.crg
FJ.Weight,
?
If
?
From
..
Where
…
the container number CN: for FJ.crg=’F’ from FC.Number and for FJ.crg=’L’ FM.Number.
I have to do the same for the container type.
How/Can I write an if/case in a select statement?
I mention that in select I have other field as well
Select
FJ.crg
FJ.Weight,
?
If
?
From
..
Where
…