CREATE TABLE Addresses (address_id INT, line_1_number_building VARCHAR, city VARCHAR, zip_postcode VARCHAR, state_province_county VARCHAR, country VARCHAR)
CREATE TABLE Lessons (lesson_id INT, customer_id INT, lesson_status_code VARCHAR, staff_id INT, vehicle_id INT, lesson_date DATETIME, lesson_time VARCHAR, price DOUBLE)
CREATE TABLE Customers (customer_id INT, customer_address_id INT, customer_status_code VARCHAR, date_became_customer DATETIME, date_of_birth DATETIME, first_name VARCHAR, last_name VARCHAR, amount_outstanding DOUBLE, email_address VARCHAR, phone_number VARCHAR, cell_mobile_phone_number VARCHAR)
CREATE TABLE Customer_Payments (customer_id INT, datetime_payment DATETIME, payment_method_code VARCHAR, amount_payment DOUBLE)
CREATE TABLE Staff (staff_id INT, staff_address_id INT, nickname VARCHAR, first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, date_of_birth DATETIME, date_joined_staff DATETIME, date_left_staff DATETIME)
CREATE TABLE Vehicles (vehicle_id INT, vehicle_details VARCHAR)

Bar chart x axis customer status code y axis the total number
SELECT customer_status_code, COUNT(*) FROM Customers GROUP BY customer_status_code
SELECT "customer_status_code", COUNT(*) FROM "Customers" GROUP BY "customer_status_code"