I think that any DDL that's only "supportive" to the question should go at the end of the question, the reason being, so we can focus on the actual question when we first load the page. I'm not saying hide it, I'm just saying focus on the DML if the problem is with DML, or focus on the DDL if the problem is with the DDL.
But regardless, this question really recaptures a common complaint on SO and pretty much all the SOIS/SE sites, which is: "Hey user, would you write a question that really explains the problem rather than asking my genius self to guess what you mean based on years of experience with noobs" ... Yes, we can often guess with the first sentence just what the problem is, but if people would ask the question imagining they were the ones that had to answer the question (so that they considered what details they would need to know to answer the question) then all of SE would be a tad more expeditious in their answers.