4 levels of insert as select