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 Year less than or equals 2008.
Step 3: find City of the results of step 1 whose Year equals 2008.
Step 4: show the rows that are in any of the results of step 2 or the results of step 3
Output (English): SELECT T1.City FROM city AS T1 JOIN hosting_city AS T2 ON T1.City_ID = T2.Host_City WHERE T2.Year < = 2008 UNION SELECT T1.City FROM city AS T1 JOIN hosting_city AS T2 ON T1.City_ID = T2.Host_City WHERE T2.Year = 2008