Task: Text to Code
Input (English): find the g_name of genre table ordered ascending by rating
Output (English): SELECT g_name FROM genre ORDER BY rating Asc