sql truncate table referencing itself

Solutions on MaxInterview for sql truncate table referencing itself by the best coders in the world