CREATE TABLE Customers (customer_id NUMBER, payment_method VARCHAR2, customer_name VARCHAR2, date_became_customer DATETIME, other_customer_details VARCHAR2)
CREATE TABLE Customer_Contact_Channels (customer_id NUMBER, channel_code VARCHAR2, active_from_date DATETIME, active_to_date DATETIME, contact_number VARCHAR2)
CREATE TABLE Addresses (address_id NUMBER, address_content VARCHAR2, city VARCHAR2, zip_postcode VARCHAR2, state_province_county VARCHAR2, country VARCHAR2, other_address_details VARCHAR2)
CREATE TABLE Customer_Addresses (customer_id NUMBER, address_id NUMBER, date_address_from DATETIME, address_type VARCHAR2, date_address_to DATETIME)
CREATE TABLE Order_Items (order_id NUMBER, product_id NUMBER, order_quantity VARCHAR2)
CREATE TABLE Customer_Orders (order_id NUMBER, customer_id NUMBER, order_status VARCHAR2, order_date DATETIME, order_details VARCHAR2)
CREATE TABLE Products (product_id NUMBER, product_details VARCHAR2)

A bar chart for finding the number of the 'date became customers' of the customers whose ID is between 10 and 20, and show by the total number in ascending.
SELECT date_became_customer, COUNT(date_became_customer) FROM Customers WHERE customer_id BETWEEN 10 AND 20 ORDER BY COUNT(date_became_customer)
SELECT "date_became_customer", COUNT("date_became_customer") FROM "Customers" WHERE "customer_id" <= 20 AND "customer_id" >= 10 ORDER BY COUNT("date_became_customer")