Currently, attempting to run an SQL query on a Global Table with 0 rows produces a generic error message (exception: FlexScript exception).
Instead, I think it would be better to handle it as an empty table (that still has all of its columns, but no rows). Any SQL query would only be able to return 0 rows, but that would be fine (as long as it doesn't throw exceptions).