commit table sql