Rewritten in go and python

This commit is contained in:
2024-11-06 01:25:27 +04:00
parent 9f22d9678d
commit d8449237bb
50 changed files with 3824 additions and 879 deletions

View File

@@ -0,0 +1 @@
DROP TABLE IF EXISTS imdb;

View File

@@ -0,0 +1,8 @@
CREATE TABLE IF NOT EXISTS imdb (
tconst VARCHAR(12) PRIMARY KEY NOT NULL,
year SMALLINT NOT NULL DEFAULT 0,
genres TEXT NOT NULL DEFAULT '',
nconsts TEXT NOT NULL DEFAULT '',
rating REAL NOT NULL DEFAULT 0.0,
votes INTEGER NOT NULL DEFAULT 0
);