Renaming statement to match mysql