Updated biased coin to test both psql and mysql