...ql [code]-- -- Table structure for table `sample` -- CREATE TABLE IF NOT EXISTS `sample` ( `id` int(12) unsigned NOT NULL AUTO_INCREMENT, `subject` varchar(1024) NOT NULL, `message` text NOT NULL, `dateline` int(12) unsigned NOT NULL, `author` varchar(1024) NOT NULL, `authori...
... -p 你的phpwind数据库名 CREATE TABLE `mq` ( `mid` int(10) unsigned NOT NULL AUTO_INCREMENT, `tid` int(10) unsigned NOT NULL DEFAULT '0', `type` tinyint(1) unsigned zerofill NOT NULL DEFAULT '0', PRIMARY KEY (`mid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; #建立trigger 使用trigger来...