SQL createYdiot Bugfixing