fixes #4728 need to escape inner quotes in Show Query