#foreach ($column in $columns) #end #if($table.sub) #foreach ($column in $subTable.columns) #end #end select#foreach($column in $columns) $column.columnName#if($foreach.count != $columns.size()),#end#end from ${tableName}