First of all, did + present tense is the same as past tense of the verb. Here are the three forms of the past simple: Positive: You said it. Negative: You did not say it. = You didn't say it. Question: Did you say it?, When did you say it? About your examples, What did you say? is a question. It can stand on its own. what you said More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.