Removed unused SELECT var.