+-----------+---------------+-------------+-------+
| Name | Location | Description | Value |
+-----------+---------------+-------------+-------+
| Company A | Houston | Sales | 100 |
| Company A | Houston | Profit | 50 |
| Company B | San Francisco | Sales | 500 |
| Company B | San Francisco | Profit | 200 |
| Company C | New York | Sales | 200 |
| Company C | San Francisco | Profit | 150 |
+-----------+---------------+-------------+-------+
如何使用SQL將它轉換爲:
+----------+---------------+--------+---------+
| Name | Location | Sales | Profit |
+----------+---------------+--------+---------+
| CompanyA | Houston | 100 | 50 |
| CompanyB | San Francisco | 500 | 200 |
| CompanyC | New York | 200 | 150 |
+----------+---------------+--------+---------+