Array ( ) select distinct paper from paper_master,np_master,stamps where stamps.paper_code=paper_master.paper_code and paper_master.paper<>' ' and np_master.np_code=stamps.np_code and np_master.np=\'A\' order by paper