Exela Technologies uses service locations to support workflows managed through Exela Process Automation. Write a PostgreSQL query that returns each eligible location's state and city as one comma-separated value.
service_locations to client_accounts using client_id.Active status.state_city in the format State, City using PostgreSQL-compatible string handling. If either component is NULL, do not add an unnecessary comma.location_id ascending.| Column | Type | Description |
|---|---|---|
| location_idPK | INT | Unique service location identifier |
| client_id | INT | References the associated client account |
| city | VARCHAR(100) | City where the service location operates |
| state | VARCHAR(100) | State or region where the service location operates |
| Column | Type | Description |
|---|---|---|
| client_idPK | INT | Unique client account identifier |
| account_name | VARCHAR(150) | Client account name |
| account_status | VARCHAR(20) | Current account status |