Assuming the 'too trivial' premise is correct (if it is not, please disconsider), perhaps we could improve the close reason to:
"Too localized - this could be because your code has a typo, basic error, or it is not relevant to most of our audience, or is too trivial. Consider revising your question so that it appeals to a broader audience. As it stands, the question is unlikely to help other users.
This is a good question but I think the wording is OK as it is. The current wording is shorter and simpler and already encompasses the 'too trivial' aspect, even though that isn't apparent at first glance.
It is the phrase "it is not relevant to most of our audience" that covers the 'too trivial' case; and that's because there is a particular 'expert' focus to the Database Administrators site. Most of our audience are experts or looking for specific expertise, and that's how we want to keep things — that's the niche we have which means the site has usefulness beyond just being another tag on SO.
There isn't a hard and fast rule or a very clear line concerning what is considered 'too trivial' and what isn't (as you can see from elsewhere on meta), but the community use their collective discretion and mostly get it right to keep the balance of helping beginners towards expertise and keeping the expert focus. In the case of the question you've linked to, there are other issues than that the answer turned out to be trivial; for example it shows no research effort, and that probably weighs against it too.