Update DbTableDataGateway.php

支持子查询 example: select * from (select * from table order by id desc) table group by gid