|
|
|
|
|
by joevandyk
5044 days ago
|
|
While I probably wouldn't store things in an array, it's useful to get data back out in array format sometimes. select array_agg(email_address), home_state from users group by home_state
Will give you a list of home states and all the email addresses that belong to that state. |
|