added sql of database