CREATE TABLE genre (g_name VARCHAR, rating VARCHAR, most_popular_in VARCHAR)
CREATE TABLE files (f_id DECIMAL, artist_name VARCHAR, file_size VARCHAR, duration VARCHAR, formats VARCHAR)
CREATE TABLE artist (artist_name VARCHAR, country VARCHAR, gender VARCHAR, preferred_genre VARCHAR)
CREATE TABLE song (song_name VARCHAR, artist_name VARCHAR, country VARCHAR, f_id DECIMAL, genre_is VARCHAR, rating DECIMAL, languages VARCHAR, releasedate DATE, resolution DECIMAL)

Draw a bar chart for what is the average rating of songs for each language?, display by the X in ascending.
SELECT languages, AVG(rating) FROM song GROUP BY languages ORDER BY languages
SELECT "languages", AVG("rating") FROM "song" GROUP BY "languages" ORDER BY "languages" NULLS FIRST