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

Show the number of customer address history in each day and bin date from by weekday with a bar chart, and sort how many date from from low to high order.
SELECT date_from, COUNT(date_from) FROM Customer_Address_History AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id JOIN Addresses AS T3 ON T1.address_id = T3.address_id ORDER BY COUNT(date_from)
SELECT "date_from", COUNT("date_from") FROM "Customer_Address_History" "T1" JOIN "Customers" "T2" ON "T1"."customer_id" = "T2"."customer_id" JOIN "Addresses" "T3" ON "T1"."address_id" = "T3"."address_id" ORDER BY COUNT("date_from")