SQL specific to OAT.