Renaming from MySQL to SQL