System Diagram from Query DDL and Scan