CREATE TABLE Catalogs (catalog_id INT, catalog_name VARCHAR, catalog_publisher VARCHAR, date_of_publication DATETIME, date_of_latest_revision DATETIME)
CREATE TABLE Catalog_Contents (catalog_entry_id INT, catalog_level_number INT, parent_entry_id INT, previous_entry_id INT, next_entry_id INT, catalog_entry_name VARCHAR, product_stock_number VARCHAR, price_in_dollars DOUBLE, price_in_euros DOUBLE, price_in_pounds DOUBLE, capacity VARCHAR, length VARCHAR, height VARCHAR, width VARCHAR)
CREATE TABLE Catalog_Structure (catalog_level_number INT, catalog_id INT, catalog_level_name VARCHAR)
CREATE TABLE Catalog_Contents_Additional_Attributes (catalog_entry_id INT, catalog_level_number INT, attribute_id INT, attribute_value VARCHAR)
CREATE TABLE Attribute_Definitions (attribute_id INT, attribute_name VARCHAR, attribute_data_type VARCHAR)

Compute how many attributes in each name of the attribute definitions with attribute value 0 Show the result with a bar chart, list from high to low by the x axis.
SELECT attribute_name, COUNT(attribute_name) FROM Attribute_Definitions AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.attribute_id = t2.attribute_id WHERE t2.attribute_value = 0 GROUP BY attribute_name ORDER BY attribute_name DESC
SELECT "attribute_name", COUNT("attribute_name") FROM "Attribute_Definitions" AS "t1" JOIN "Catalog_Contents_Additional_Attributes" AS "t2" ON "t1"."attribute_id" = "t2"."attribute_id" AND "t2"."attribute_value" = 0 GROUP BY "attribute_name" ORDER BY "attribute_name" DESC NULLS LAST