Remove widget with all row in table in database

Hi, how can i remove widget with all row in table in database?