Fix for aliases on mysql and the like