preview SQL code structure and control flow