From df73f0114b231ecf84273f65758b6777b2154df6 Mon Sep 17 00:00:00 2001 From: Tom Edwards <edwardstj1@cardiff.ac.uk> Date: Fri, 13 Dec 2024 11:27:09 +0000 Subject: [PATCH] Work towards collocation and concordance WIP --- db/db_creation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/db/db_creation.py b/db/db_creation.py index c6f22a3..ce0ff6d 100644 --- a/db/db_creation.py +++ b/db/db_creation.py @@ -12,6 +12,7 @@ cursor.execute('''CREATE TABLE IF NOT EXISTS news (id integer primary key, title text, location text, pubyear text, pubdate text, websource text, loaddate text, content longtext)''') + # Insert a row of data #cursor.execute("INSERT INTO stocks VALUES ('2006-01-05','BUY','RHAT',100,35.14)") -- GitLab