You can view the rankings of Hong Kong and China (use instead of Shanghai) in the categories listed below which cover economic, financial, business rankings, and more.
From the World Economic Forum. Assesses the competitiveness of economies based on the level of productivity of a country. Includes Asia Pacific Top 10.
From the World Bank. Browse Trade Summary section by country for comparison.
You can use the following resources to compare statistics for Hong Kong and Shanghai (or China).
Financial Statistics - yearbooks