write_table.RdWrite To Database Table
write_table(file, data, con)Writes the data to the database
This is a helper function to check if the table exists, if not it creates the table and writes to it. If the table exists, it overwrites existing data.