deleted unrelated sql