Update AbstractSql.php

Changed function processSubSelect it did not create SQL according to the platform