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)

Bar graph to show the total number from different formats, and display by the the total number in asc please.
SELECT formats, COUNT(*) FROM files GROUP BY formats ORDER BY COUNT(*)
SELECT "formats", COUNT(*) FROM "files" GROUP BY "formats" ORDER BY COUNT(*) NULLS FIRST