Need group 3 col in 1 row
I have this table:
This query:
select cidade, grupo from dados;
|----------|--------|
|Cidade |Grupo |
|----------|--------|
|varginha |grande |
|----------|--------|
|mimoso |pequena |
|----------|--------|
|Sao Tumas |media |
|----------|--------|
But, I need convert, or grouping cols in row in SQL, like this:
|---------|
|Grouping |
|---------|
|varginha |
|grande |
|---------|
|mimoso |
|pequena |
|---------|
|Sao Tumas|
|media |
|---------|
varginha grande) represents a single record, or two different records?