public boolean deleteTable(String table) {
        try {
            if (table.equals("") || table == null) {
                return true;
            }

            Statement statement = connection.createStatement();
            statement.executeUpdate("DROP TABLE " + table);
            return true;
        } catch (SQLException e) {
            reconnect();
            e.printStackTrace();
            return false;
        }
    }