todoList fromDatabase: ifivica_try2
CREATE DATABASE ifivica_try2;
CREATE TABLE ifivica_try2.todo_list (
item_id INT AUTO_INCREMENT,
content VARCHAR(255),
PRIMARY KEY(item_id)
);
INSERT INTO ifivica_try2.todo_list (content) VALUES ('My important item22');
SELECT * FROM `todo_list`
- My first important item
- My important item22