SQL impl issues and user