CREATE TABLE Problem_Status_Codes (problem_status_code VARCHAR, problem_status_description VARCHAR)
CREATE TABLE Product (product_id INT, product_name VARCHAR, product_details VARCHAR)
CREATE TABLE Problem_Log (problem_log_id INT, assigned_to_staff_id INT, problem_id INT, problem_category_code VARCHAR, problem_status_code VARCHAR, log_entry_date DATETIME, log_entry_description VARCHAR, log_entry_fix VARCHAR, other_log_details VARCHAR)
CREATE TABLE Staff (staff_id INT, staff_first_name VARCHAR, staff_last_name VARCHAR, other_staff_details VARCHAR)
CREATE TABLE Problems (problem_id INT, product_id INT, closure_authorised_by_staff_id INT, reported_by_staff_id INT, date_problem_reported DATETIME, date_problem_closed DATETIME, problem_description VARCHAR, other_problem_details VARCHAR)
CREATE TABLE Problem_Category_Codes (problem_category_code VARCHAR, problem_category_description VARCHAR)

Find all the ids and dates of the logs for the problem whose id is 10 Plot them as bar chart, display from low to high by the total number.
SELECT log_entry_date, problem_log_id FROM Problem_Log WHERE problem_id = 10 ORDER BY problem_log_id
SELECT "log_entry_date", "problem_log_id" FROM "Problem_Log" WHERE "problem_id" = 10 ORDER BY "problem_log_id" NULLS FIRST