to do with Thành ngữ, tục ngữ
have to do with
be about or on the subject or connected with something The book has something to do with cooking but I am not sure if you will like it.
have nothing to do with
have no connection with与…毫无关系
The teacher asked some questions which had nothing to do with his lessons.老师问了一些与上课内容毫无关系的问题。
What does that have to do with the price of tea in
This idiom is often used when someone says something irrelevant to the topic being discussed.
have nothing to do with|have|nothing|nothing to do
v. phr. To not be involved with; not care about.
Our firm has nothing to do with oil from the Near East; we are interested in solar energy.
have to do with|have
v. phr. 1. To be about; be on the subject of or connected with.
The book has to do with airplanes. 2. To know or be a friend of; work or have business with.

Usually used in negative sentence.
Tom said he didn't want to have anything to do with the new boy. I had nothing to do with the party; I was home that night.
nothing to do with
nothing to do with see
have nothing to do with.
to do with
A set byword acclimated to appearance that things are—or are not—related or connected. Don't accompany that up! That has annihilation to do with this! Gina's name isn't on the report, but I apperceive she had article to do with it. I apperceive my son isn't the best student, but this is a advance position—what do grades accept to do with it?