CREATE TABLE grapes (ID INT, Grape TEXT, Color TEXT)
CREATE TABLE appellations (No INT, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT)
CREATE TABLE wine (No INT, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INT, Price INT, Score INT, Cases INT, Drink TEXT)

Bin the year attribute into the Year interval and count them for a bar chart, and rank total number in desc order.
SELECT Year, COUNT(Year) FROM wine ORDER BY COUNT(Year) DESC
SELECT "Year", COUNT("Year") FROM "wine" ORDER BY COUNT("Year") DESC NULLS LAST