I would like to calculate the aggregated bounding box of multiple features using OGC Simple Feature SQL or SQL API of ArcSDE. The following statement will only query the bounding box of each feature:
select ST_Boundary (shape) from polygon_table where country like '%usa%'
What I needed is one bounding box aggregated over all features, resulting to the condition in the where clause.