CREATE TABLE `viewhistory` ( `viewid` ) NOT NULL AUTO_INCREMENT, `uid` ) NOT NULL, `video` ) NOT NULL, `viewtime` datetime NOT NULL, PRIMARY KEY (`viewid`) ) INSERT INTO viewhistory VALUES (,,'this',NOW()), (,,'is',NOW()), (,,'a',NOW()), (,,'movie',N