Get a printable name for the given query type.
Do not modify or free.
the query type
a reference to the static name of the query.