export the data of database to excel