query returns in terminal
display query in terminal