CREATE TABLE Contacts (contact_id INT, customer_id INT, gender VARCHAR, first_name VARCHAR, last_name VARCHAR, contact_phone VARCHAR)
CREATE TABLE Addresses (address_id INT, line_1_number_building VARCHAR, city VARCHAR, zip_postcode VARCHAR, state_province_county VARCHAR, country VARCHAR)
CREATE TABLE Customer_Address_History (customer_id INT, address_id INT, date_from DATETIME, date_to DATETIME)
CREATE TABLE Customers (customer_id INT, payment_method_code VARCHAR, customer_number VARCHAR, customer_name VARCHAR, customer_address VARCHAR, customer_phone VARCHAR, customer_email VARCHAR)
CREATE TABLE Order_Items (order_item_id INT, order_id INT, product_id INT, order_quantity VARCHAR)
CREATE TABLE Customer_Orders (order_id INT, customer_id INT, order_date DATETIME, order_status_code VARCHAR)
CREATE TABLE Products (product_id INT, product_type_code VARCHAR, product_name VARCHAR, product_price DOUBLE)

Show the number of products with price higher than 1000 or lower than 500 for each product name in a bar chart, and display from high to low by the x axis please.
SELECT product_name, COUNT(product_name) FROM Products WHERE product_price > 1000 OR product_price < 500 GROUP BY product_name ORDER BY product_name DESC
SELECT "product_name", COUNT("product_name") FROM "Products" WHERE "product_price" < 500 OR "product_price" > 1000 GROUP BY "product_name" ORDER BY "product_name" DESC NULLS LAST