ready to pgnation sql