<!--sql--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>SQL </td></tr><tr><td id='CODE'><!--sql1-->CURSOR numeros IS
[color=blue;font-weight]SELECT[/color] *
FROM ([color=blue;font-weight]SELECT[/color] movi1, movi2, movi3
FROM movimientos WHERE movi1 = v_movi
UNION
[color=blue;font-weight]SELECT[/color] pm1, pm2, pm3
FROM propuesta_movimientos WHERE pm1 = v_pm
ORDER BY 1, 2 DESC) AND ROWNUM <=100; <!--sql2--></td></tr></table><div class='postcolor'><!--sql3-->