CREATE TABLE history (userid INTEGER NOT NULL PRIMARY, symbol varchar(255), amount INTEGER, Price decimal(10,2),date datetime)