Largely a copy of the org.hibernate.sql.Select class, but changed up slightly to better meet needs of building a SQL SELECT statement from a LoadPlan
org.hibernate.sql.Select