CREATE table documents (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    title TEXT,
    content TEXT,
    author TEXT);
    
INSERT INTO documents (author, title, content)
    VALUES ("Puff T.M. Dragon", "Fancy Stuff", "Ceiling wax, dragon wings, etc.");
INSERT INTO documents (author, title, content)
    VALUES ("Puff T.M. Dragon", "Living Things", "They're located in the left ear, you know.");
INSERT INTO documents (author, title, content)
    VALUES ("Jackie Paper", "Pirate Recipes", "Cherry pie, apple pie, blueberry pie.");
INSERT INTO documents (author, title, content)
    VALUES ("Jackie Paper", "Boat Supplies", "Rudder - guitar. Main mast - bed post.");
INSERT INTO documents (author, title, content)
    VALUES ("Jackie Paper", "Things I'm Afraid Of", "Talking to my parents, the sea, giant pirates, heights.");

SELECT * FROM documents;

UPDATE documents SET AUTHOR = "Jackie Draper" WHERE id=3;
UPDATE documents SET AUTHOR = "Jackie Draper" WHERE id=4;
UPDATE documents SET AUTHOR = "Jackie Draper" WHERE id=5;
SELECT * FROM documents;
DELETE FROM documents WHERE title= "Things I'm Afraid Of";
SELECT * FROM documents;

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: