阅读背景:

如何为这个SQL查询创建索引?

来源:互联网 

table:

表:

CREATE TABLE `deal` (
  `id` int(11) NOT NULL default '0',
  `site` int(11) NOT NULL default '0',
  `time` bigint(13) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `site` (`site`),
  KEY `time` (`time`,`site`)
) TYPE=MyISAM
CREATE TABLE `deal` (
  `id` int(



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: