Create table flip, create init flip value, close connection