how to make report of database