Use prettify to show the query information