CREATE TABLE scores ( url varchar, baseScore int NOT NULL DEFAULT 0, score int NOT NULL DEFAULT 0, PRIMARY KEY (url), FOREIGN KEY (url) REFERENCES requests(url) );