Task: Text to Code
Input (English): What are the names and headquarters of all companies ordered by descending market value?
Output (English): SELECT company ,  headquarters FROM company ORDER BY market_value DESC