I\'ve following data:
SELECT 1 note, 1000 amt FROM dual union all SELECT 2 note, 2000 amt FROM dual union all SELECT 3 note, 8000 amt FROM dual union all SELE