10.07.2015 Views

PL/SQL I.

PL/SQL I.

PL/SQL I.

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2. Feladatok megoldásaSET SERVEROUTPUT ONDECLAREsorok NUMBER;atlag_fiz NUMBER;BEGINSELECT COUNT(*), AVG(sal) INTO sorok, atlag_fizFROM EMP;DBMS_OUTPUT.PUT_LINE('Sorok szama: ' || sorok);DBMS_OUTPUT.PUT_LINE('Atlag fizetes: ' || atlag_fiz);END;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!