Pretty Print queries