Task: Text to Code
Input (English): Step 1: find the number of rows of each value of Location_Code in Ref_Locations table.
Step 2: find Location_Name, Location_Code of Ref_Locations table with smallest value in the results of step 1
Output (English): SELECT Location_Name , Location_Code FROM Ref_Locations GROUP BY Location_Code ORDER BY Count ( * ) Asc LIMIT 1