Working on MySQL Database for the reports