EBRAIN,

Can ou please help me in putting the SQL into PL/SQL...It will be a great help

Regards