Added SQL for CPU database