SELECT NVL(MIN(value),'0') FROM history WHERE itemid = '980627';
On PostgresSQL 10:SELECT COALESCE(MIN(value),'0') FROM history WHERE itemid = '980627';SELECT NVL(MIN(value),'0') FROM history WHERE itemid = '980627';
On PostgresSQL 10:SELECT COALESCE(MIN(value),'0') FROM history WHERE itemid = '980627';
No comments:
Post a Comment