SQL improvements: Added TEMP keyword