Updated reference statements to be compatible with mysql