query with console output added