hi...
i am new to DB2. i have an oracle query which i need to convert to DB2. the query as follows.
SELECT MAX(a),
CASE WHEN b>=x THEN 'N'
WHEN b<x THEN 'Y' END AS above_limit
FROM B
WHERE a<=CURRENT_DAT E
GROUP BY a,b
please help me in doing this.
thanks in advance
manju
i am new to DB2. i have an oracle query which i need to convert to DB2. the query as follows.
SELECT MAX(a),
CASE WHEN b>=x THEN 'N'
WHEN b<x THEN 'Y' END AS above_limit
FROM B
WHERE a<=CURRENT_DAT E
GROUP BY a,b
please help me in doing this.
thanks in advance
manju
Comment