write sql queries to terminal
Merge pull request #10052 from neerajdotname/stdout-in-log

write sql queries to terminal