Task: Text to Code
Input (English): Step 1: For each row in city table, find the corresponding rows in hosting_city table.
Step 2: find City of the results of step 1 whose City equals Shanghai and Year equals 2008
Output (English): SELECT T1.City FROM city AS T1 JOIN hosting_city AS T2 ON T1.City_ID = T2.Host_City WHERE T1.City = "Shanghai" AND T2.Year = 2008