• Good question. Not perfect, though.

    When I read the question in the daily newsletter, I expected the answer options to be "yes" or "no", and I was fully ready to reply "yes". But when I clicked through to the site, I was surprised to see the much longer answer options - and especially the inclusion of three of the returned values for the "yes" option. Technically, this makes both answer options wrong. The query will return six "name" values, not just the three included in the answer.

    Luckily this did not cause me to pick the wrong answer, but I think the question would have been better if either no results at all were included in the answer, or all, or the answer had included words like "among others" or so.

    This is not meant to slash the author, though. I do like the question, but I also wanted to share my ideas on how it could have been better still - I hope Chirag will continue to submit questions, and I hope they will be at least as good, if not better, as this one.


    Hugo Kornelis, SQL Server/Data Platform MVP (2006-2016)
    Visit my SQL Server blog: https://sqlserverfast.com/blog/
    SQL Server Execution Plan Reference: https://sqlserverfast.com/epr/