Improved SQL system